Can i capture the status of put command after i ftp a file?
Hi,
You can just give hash before using put command and till the transfer is not complete the hash symbol will keep on incrementing.
Cheers
can you please suggest the code
---------- Post updated at 08:32 AM ---------- Previous update was at 08:29 AM ----------
actually i need to capture the FTP put status and delete that file if the FTP of the file was successful
I think you should be using Perl Net::FTP. This lets you know whether commands succeeded or failed and take action on that knowledge.
See simple examples at my Perl Net::FTP
Does Perl Net::FTP work on AIX 5.3?