Mark1inLA Posted October 10, 2009 Share Posted October 10, 2009 hello all, i'm not sure what category this falls under so i put it here. I have a cron job running around midnight that generates a text file of the previous days orders. The file for yesterday was 70k bytes. Now this morning when the file was downloaded and imported into another system, it was discovered that the import file had missing orders and it was only 40k bytes. I thought downloading a file like this was an all or nothing type of thing, so i have no idea why this could happen (unless the user explicitily deleted the bottom portion of the file, but not likely). Is it possible that the file partially downloaded and was processed as-is? and if so, how can i prevent that from happening? Quote Link to comment https://forums.phpfreaks.com/topic/177144-how-to-prevent-a-partially-downloaded-text-file/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.