I was wandering if you would be able to help me with a Perl Problem. I am writing a script that needs to FTP large files from my server to remote FTP servers and be evoked from a web browser
The problem is that some of these transfers take about 10 minutes to transfer. I have managed to use the NET:FTP module to complete the transfer, however I would like to be able to return the status of the transfer to the screen so the user can see a % complete and also an estimated time remaining. This will stop users refreshing the page or navigating away causing the transfer to fail.
I have seen that this can be done (I think it was in the Webmin Application on Linux when installing Perl Moduled) but I cant find any documents or reference to how it is done..
I am guessing I need to monitor the bytes the Net::FTP module has sent to the remote host and every few seconds process the result to work out times etc…. but how can I check how much data has been sent while the transfer is in progress?????
Hope this makes sense!
Al
In reply to FTP Transfer Status by allyc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |