Hi gurus
I have so far the following code:
But nothing happens, I get no error, the appl. ends fines but the files does not upload from my server to their server.Code:Dim localname As String Dim remotename As String localname = "c:\testfile.txt" remotename = "testfile.txt" With Inet1 .Url = "ftp://Ftp.theirsite.com/" .Username = "myusername" .Password = "mypassword" .Execute , "CD /myfolder_within_their_ftp" finishcmd ' This call for a do while inet.stillexecuting .Execute "", "PUT " & localname & " " & remotename finishcmd End With Inet1.Execute , "CLOSE"
I dont know if my cd is not necessary, as when I log in to their FTP site I am taken directly to my folder within their FTP server.
Thanks for any help, I know I am missing something but I dont know what is it
Thansk a buncH again




Reply With Quote