I want to put a progress bar for an FTP download... is it possible?

T

Tom

I have a situation where an FTP download can take several minutes, depending
on file size and bandwidth (varies from wireless to internal LAN) and I
would like to give an estimate of download time as well as display a
progress bar.

In order to do this, it would be helpful to know the size of the selected
download file. Is this possible with FTP?
 
S

Sahil Malik

Well, if you were using raw tcp socket programming, then you could find the
size of the file before issuing the get command. Once you have that, then
based on the bytes received so far, you could show a progress bar ..

- Sahil Malik
Independent Consultant
You can reach me thru my blog at -
http://www.dotnetjunkies.com/weblog/sahilmalik/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top