ftp y visual

fernando
23 de Mayo del 2003
Necesito acceder a un sitio ftp desde visual y dejar una serie de ficheros.
Gracias

skyrover
23 de Mayo del 2003
There is a very easy way to do it:

Private Sub ftp_click()
Shell "ftp -s:" & App.Path & "mylist.x"
End Sub

where mylist.x is a file with the ftp commands like:

-----------------------
open ftp.thatsite.com
mylogin
mypassword
binary
put myfile.yy myfile.yy
...
put myfilexx.yy myfielxx.yy
close
quit
-----------------------------

Of course, you need to be sure that the ftp.exe will put your PC online or be sure you're online already.
Good luck!