I am using the FTPGETFILE API and would like to know how i could add a progress bar or show how much was already downloaded.
please help.
Printable View
I am using the FTPGETFILE API and would like to know how i could add a progress bar or show how much was already downloaded.
please help.
Lose the FTPGETFILE api. One line does all of it.
[CODE]
Private Declare Function DoFileDownload Lib "shdocvw.dll" (ByVal lpszFile As String) As Long
Sub DownLoadwithDialog(strFile)
'strFile is an URL like http://www.vb-world.net/somewhere/bigdir/junk.zip
Call DoFileDownload(strFile)
End Sub
Try it - it brings up a dialog box just like you want.:D
I cant use it because my program needs to wait until finished downloading.