FTP download successful and complete?

Discuss RoboTask here
Post Reply
fodmob
Posts: 8
Joined: Wed Apr 03, 2013 7:40 am

FTP download successful and complete?

Post by fodmob »

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.
Oleg
Site Admin
Posts: 3202
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: FTP download successful and complete?

Post by Oleg »

FTP actions (also SSL FTP and sFTP actions) are high-level actions.
They doesn't return all requests and responses between RoboTask and server.
The action finished successfully without any errors and warnings then this means that operation is done successfully. Otherwise RoboTask raises an error and aborts the task by default.
Also it puts the error message into the log of the task
Oleg Yershov
Post Reply