lottk
asked on
Internet transfer control
I am trying to copy a file using the Internet transfer control and I keeping getting an error that the Anonymous user does not exist. I am not trying to login as Anonymous. Here is the code I am using and it looks ok to me. I have the SP3.
Dim strSite As String
Dim strFile As String
Dim objFTP As Object
Set objFTP = Me!axFTP.Object
strSite = "FTP://ftp.207.154.236.216"
strFile = "C:/usr/local/etc/httpd/si tes/usaauc tions/osho me/data/lo gs/cust.lo g"
objFTP.AccessType = icUseDefault
objFTP.Protocol = icFTP
objFTP.URL = strSite
objFTP.UserName = "Admin"
objFTP.Password = "TEST"
Text1.Text = objFTP.OpenURL
objFTP.Execute strSite, "Get " & strFile & " C:\FTP\" & strFile
any help would be greatly appreciated.
Dim strSite As String
Dim strFile As String
Dim objFTP As Object
Set objFTP = Me!axFTP.Object
strSite = "FTP://ftp.207.154.236.216"
strFile = "C:/usr/local/etc/httpd/si
objFTP.AccessType = icUseDefault
objFTP.Protocol = icFTP
objFTP.URL = strSite
objFTP.UserName = "Admin"
objFTP.Password = "TEST"
Text1.Text = objFTP.OpenURL
objFTP.Execute strSite, "Get " & strFile & " C:\FTP\" & strFile
any help would be greatly appreciated.
If the FTP site you supplied is correct, I can't open it either
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
For an FTP address, you need not type 'ftp://'. Just enter 207.154.236.216 (or 'ftp.207.154.236.216'which I doubt is correct). That should clear up the address problem. Good luck.
Bought This Question.