Hi!
Is there any way to connect to a ftp site and login and after that upload a file from my local disc to the ftp site???
Some useful code would be great.....
/Smirre
Printable View
Hi!
Is there any way to connect to a ftp site and login and after that upload a file from my local disc to the ftp site???
Some useful code would be great.....
/Smirre
Use the inet control!!
Let you upload, download whatever to and from a ftp site.
www.planet-source-code.com has some good examples!
good luck
b
Ok, going to look in to it.
Do you all think using the inet contol is the best way???
/Smirre
Code:Screen.MousePointer = vbHourglass
Inet1.URL = "ftp://ftp.myhost.com"
Inet1.UserName = "myuser"
Inet1.Password = "mypass"
Inet1.Protocol = icFTP
Inet1.Execute Inet1.URL, "put c:\myfile.txt /myfolder/myfile.txt"
Do While Inet1.StillExecuting
DoEvents
Loop
Screen.MousePointer = vbDefault
You could use the API!
But i dont know it PM Mathew Gates he'll probably know it.
Hi!
Thanks for the help all. Going to try using the inet control.
/Smirre