Jump to content

How to prevent a partially downloaded text file.


Mark1inLA

Recommended Posts

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?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.