Inet control problem
Posted on 2006-04-12
Trying to transfer a file from our network to a remote server using the inet control. It executes with no errors, but the file does get transferred.
Here's my code:
inetDYC.URL = "<ip address>"
inetDYC.UserName = "<username>"
inetDYC.Password = "<password>"
inetDYC.Execute "put c:\temp\dyc_testfile.txt *.*"
Do While inetDYC.StillExecuting
The only inet property I set at design time is Protocol = 2 - icFTP (which automatically changed the RemotePort property to 21).
I can ftp the file from a command window without any problems. And I've super-double checked the URL, username and password several times.
Looking forward to your responses.