I have the following typical FTP code using INET control. This code works well in XP but I'm unable to upload a file in Windows 7 with it. I've disabled completely the Firewall but nothing happens. Does anyone has an idea about what's going on or what should I do to upload a file with VB 5 or 6 in W7?
Thanks a lot.
Thanks a lot.
Code:
Inet1.AccessType = icUseDefault
Inet1.URL = "ftp://mysite.com"
Inet1.UserName = "myuser"
Inet1.Password = "mypass"
c_put = "PUT " & App.Path & "\file.txt" & " " & "/usr/local/www/websites/website/sms/file.txt"
Inet1.RequestTimeout = 40
Inet1.Execute , c_put
Do While Inet1.StillExecuting
DoEvents
Loop
Inet1.Execute , "CLOSE"