FTP download successful and complete?
Posted: Thu Jan 09, 2014 12:06 pm
Hi,
I want to download a simple text file from an FTP server.
For this I use the FTP DOWNLOAD action and this works fine.
Is there any way to check if the download process is finished (or still going on) and more importantly if the downloaded file is complete?
Is there a return code from the download process to check if the FTP download is finished properly?
For example like it was in FTP from old MS-DOS.
ftp> get telephone-jim.html <-- The get command downloads a requested file
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for telephone-jim.html (588 bytes).
226 File send OK. <-- return code from the FTP server
ftp: 588 bytes received in 0.00Seconds 588.00Kbytes/sec.
Thanks in advance.
I want to download a simple text file from an FTP server.
For this I use the FTP DOWNLOAD action and this works fine.
Is there any way to check if the download process is finished (or still going on) and more importantly if the downloaded file is complete?
Is there a return code from the download process to check if the FTP download is finished properly?
For example like it was in FTP from old MS-DOS.
ftp> get telephone-jim.html <-- The get command downloads a requested file
200 PORT command successful. Consider using PASV.
150 Opening BINARY mode data connection for telephone-jim.html (588 bytes).
226 File send OK. <-- return code from the FTP server
ftp: 588 bytes received in 0.00Seconds 588.00Kbytes/sec.
Thanks in advance.