Internet Transfer Control - download times

I am successfully using the Internet Transfer Control to download files via ftp and the .execute method
e.g.
With InetOne
        .URL = "ftp://MySite"
        .UserName = "MyUserName"
        .Password = "MyPassword"  
        .execute , "GET www/FtpServer/MyFile " & app.path & "\MyFile"
        Do While .StillExecuting
            DoEvents
        Loop
        .execute , "CLOSE"
End With

This works fine however I want to be able to display the download progress so I need to be able to keep track of the number of bytes downloaded. How can I do this? Getting the size of the file is no problem - but how can I monitor the download?
jsb330Asked:
Who is Participating?
 
softplusCommented:
Hi jsb330,
You need to drop the internet transfer control for progress information - and jump to the "more direct" path using wininet.dll.
Try these links for examples:
http://www.devx.com/vb2themax/Tip/19203
http://builder.com.com/5100-6373-1044939.html
John
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.