Hi all,

I've been trying to add FTP to a program that I'm making using the Inet thingy.. I've read through all of the FTP related threads on this subforum that i can find and read some MSDN articles, but it's all pretty tricky stuff. Can someone explain Inet commands basically to me? I can't find anything on Google..
Also, I have this sample code:

Code:
Private Sub uwt_click()

FTPInet.RemoteHost = "My.server"
FTPInet.RemotePort = "21"
FTPInet.UserName = "Username"
FTPInet.Password = "Password"
FTPInet.Document = "C:\Test.txt"
FTPInet.Execute , "Put C:\Test.txt Test.txt"

End Sub
Is that correct? It seems to just hang my program each time..