|
-
Sep 13th, 2000, 05:29 PM
#1
Thread Starter
Lively Member
anyone have any experience with
downloading files from ftp within vb??
-
Sep 13th, 2000, 06:43 PM
#2
Hyperactive Member
There is a good example here.
Hope this helps.
-
Sep 13th, 2000, 06:48 PM
#3
Thread Starter
Lively Member
sweet
thanks i'll take a look
-
Sep 13th, 2000, 07:33 PM
#4
Fanatic Member
Code:
With Inet1
.Cancel
.Protocol = icFTP
.url = "123.123.123.123"
.UserName = "me"
.Password = "xxxx"
End With
'upload a file
Inet1.Execute , "PUT C:\test.txt test.txt"
'download file and download it to C:\test.txt
Inet1.Execute , "Get test.txt C:\test.txt"
Hope that helps,
D!m
-
Sep 13th, 2000, 09:04 PM
#5
Hyperactive Member
How would you incorporate the Inet control in the program to make that work?
Or is Inet already in there.
This would be an awesome program for a friend of mine who wants to upload pics VIA FTP, but isn't totally clued in on how to do it.
-
Sep 13th, 2000, 10:47 PM
#6
Fanatic Member
You would have to go "Project/Components/ and select "Microsoft Internet Transfer Control" and click on. Then double click on it in the toolbar and it will be added to your form. Then simply paste the code in.
Gl,
D!m
-
Sep 19th, 2000, 09:24 AM
#7
Thread Starter
Lively Member
i need this to be in ascii any ideas
it seems to be in binary
thanks jason
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
|