Hi people,
I use a ftp windows commands to download files from a ftp server automatically every 5 minutes, but i have a big problem, i have to put the files in the ftp server with an external process , those files (txt files) some times are big (more than 300 Kb) so if i am uploading the txt file to the ftp server and in that moment the automatic job that download the file start, the ftp downolad a partial file because the file is still uploading..... so this is very bad for me...
Do you know if exist some way to avoid download partial files with ftp commands?
Thanks for your help
avoid download partial files with ftp
Moderator: DosItHelp
-
- Expert
- Posts: 442
- Joined: 01 Aug 2010 17:13
- Location: Canadian Pacific
- Contact:
Re: avoid download partial files with ftp
That would be a function of the FTP server, to not allow files being received to be listed until complete. The only other way I can think of would be to check each file twice with a delay, to see if it's size has changed and process accordingly.