|
-
July 8th, 2001, 05:09 AM
#1
i need a way to transfer files from a ftp to a local comp.URGENT
I'm looking for a simple way to do this.
I need to transfer files from a deep sub dir within a ftp to a local dir the user specify's.
But i cannot use a pre programmed FTP client because the user may not see from where he/she is downloading.
And there must be a progress bar to see how long and how fast its going (its about really large binary files, .mdb, about 25 mb)...
So can someone help me with this, i'm a total newbie at internet programming...
Sebastian
-
July 8th, 2001, 07:44 PM
#2
Re: i need a way to transfer files from a ftp to a local comp.URGENT
Private Declare Function URLDownloadToFile Lib "urlmon" Alias _
"URLDownloadToFileA" (ByVal pCaller As Long, _
ByVal szURL As String, _
ByVal szFileName As String, _
ByVal dwReserved As Long, _
ByVal lpfnCB As Long) As Long
Dim lngRetVal As Long
lngRetVal = URLDownloadToFile(0, "ftp://test.com/test.exe", "c:\test.exe", 0, 0)
But this code don't give you creating progress bar.
Andy Tower
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|