| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: 10060 error |
| stv_traut strautmann@earthlink.net From: Nappanee, IN USA Posts: 4 Member Since: 12/21/05 |
posted January 16, 2006 9:42 AM I have created an application that use a RAS connection. The log files shows a succesful login, but the user receives a 10060 error. The last command posted in the log file is LIST. The command is being executed on an FTP site. A code block where the error is occuring is as follows: gbDialerCanceled = False gbDialerConnected = False ' Login to the server Ftp1.Login Me.txtHost, Me.txtUser, Me.txtPassword If lErrNumber = 11004 Then 'need to dial lErrNumber = 0 bDialUp = True Set fDialer = New frmDialer Load fDialer Do While gbDialerCanceled = False And gbDialerConnected = False DoEvents Loop Ftp1.TimeOut = 30000 ' 10 second timeout Ftp1.Login Me.txtHost, Me.txtUser, Me.txtPassword End If Ftp1.Directory = "dealer" ' Get a listing Ftp1.List Any ideas where to look? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 16, 2006 11:33 AM You probably have firewall issues. Try the sample apps and see if they can connect. Also, try setting Passive to both true and false and see if one setting works. |
| stv_traut strautmann@earthlink.net From: Nappanee, IN USA Posts: 4 Member Since: 12/21/05 |
posted January 16, 2006 12:52 PM I have passive set to false currently and will try setting it to true. If I set it to true, will I likely have problems on other computers? I think that the firewall settings may be the key though. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted January 16, 2006 1:19 PM Passive = true is safest. If Passive is true, it means the client establishes a data connection back to to the server. Otherwise, the client sets up a listener and waits for the server to connect back up. The latter method does not usually work well through a firewall. |
| stv_traut strautmann@earthlink.net From: Nappanee, IN USA Posts: 4 Member Since: 12/21/05 |
posted January 21, 2006 9:30 AM Thanks, Passive = true worked. |
| stv_traut strautmann@earthlink.net From: Nappanee, IN USA Posts: 4 Member Since: 12/21/05 |
posted February 13, 2006 11:14 AM The program I have written seems to be working with little problem except on one user's computer. The user is using a DSL connection to the internet and is getting the 10060 error (it appears on the LIST command). My computer was successful using the same login at the host computer. Any help would be appreciated. This is the a portion of the current code: ' Set properties for the transfer Ftp1.TimeOut = 30000 ' 10 second timeout Ftp1.Passive = True ' Do passive transfer Ftp1.Type = ftpImage ' Binary mode ' Do the transfer AddLog "Starting new Transfer ..." + vbCrLf gbDialerCanceled = False gbDialerConnected = False ' Login to the server Ftp1.Login Me.txtHost, Me.txtUser, Me.txtPassword If lErrNumber = 11004 Then 'need to dial lErrNumber = 0 bDialUp = True Set fDialer = New frmDialer Load fDialer Do While gbDialerCanceled = False And gbDialerConnected = False DoEvents Loop Ftp1.TimeOut = 30000 ' 10 second timeout Ftp1.Login Me.txtHost, Me.txtUser, Me.txtPassword End If Ftp1.Directory = "dealer" ' Get a listing Ftp1.List Here is a portion of my log file: <--- 220 ProFTPD 1.3.0rc2 Server (Borkholder WWW/FTP Server) [192.168.3.2] ---> USER 348 <--- 331 Password required for 348. ---> PASS **** <--- 530 Login incorrect. <--- 220 ProFTPD 1.3.0rc2 Server (Borkholder WWW/FTP Server) [192.168.3.2] ---> USER bbs348 <--- 331 Password required for bbs348. ---> PASS **** <--- 230 User bbs348 logged in. ---> CWD dealer <--- 250 CWD command successful ---> TYPE I <--- 200 Type set to I ---> PASV <--- 227 Entering Passive Mode (65,40,78,243,114,121). ---> LIST <--- 150 Opening ASCII mode data connection for file list <--- 226 Transfer complete. <--- 220 ProFTPD 1.3.0rc2 Server (Borkholder WWW/FTP Server) [192.168.3.2] ---> USER bbs348 <--- 331 Password required for bbs348. ---> PASS ***** <--- 230 User bbs348 logged in. ---> CWD / <--- 250 CWD command successful ---> TYPE I <--- 200 Type set to I ---> PASV <--- 227 Entering Passive Mode (65,40,78,243,114,122). ---> LIST dealer/tr20060118.zip <--- 150 Opening ASCII mode data connection for file list <--- 226 Transfer complete. ---> SIZE dealer/tr20060118.zip <--- 213 640 ---> PASV <--- 227 Entering Passive Mode (65,40,78,243,114,123). ---> RETR dealer/tr20060118.zip <--- 150 Opening BINARY mode data connection for dealer/tr20060118.zip (640 bytes) <--- 226 Transfer complete. ---> QUIT Here is a portion of log file from the problem computer: <--- 220 ProFTPD 1.3.0rc2 Server (Borkholder WWW/FTP Server) [192.168.3.2] ---> USER 348 <--- 331 Password required for 348. ---> PASS ***** <--- 530 Login incorrect. <--- 220 ProFTPD 1.3.0rc2 Server (Borkholder WWW/FTP Server) [192.168.3.2] ---> USER bbs348 <--- 331 Password required for bbs348. ---> PASS ***** <--- 230 User bbs348 logged in. ---> CWD dealer <--- 250 CWD command successful ---> TYPE I <--- 200 Type set to I ---> PASV <--- 227 Entering Passive Mode (65,40,78,243,104,99) <--- 220 ProFTPD 1.3.0rc2 Server (Borkholder WWW/FTP Server) [192.168.3.2] ---> USER bbs348 <--- 331 Password required for bbs348. ---> PASS ***** <--- 230 User bbs348 logged in. ---> CWD dealer <--- 250 CWD command successful ---> TYPE I <--- 200 Type set to I ---> PASV <--- 227 Entering Passive Mode (65,40,78,243,104,180) <--- 220 ProFTPD 1.3.0rc2 Server (Borkholder WWW/FTP Server) [192.168.3.2] ---> USER bbs348 <--- 331 Password required for bbs348. ---> PASS ***** <--- 230 User bbs348 logged in. ---> CWD dealer <--- 250 CWD command successful ---> TYPE I <--- 200 Type set to I ---> PASV <--- 227 Entering Passive Mode (65,40,78,243,104,196) <--- 220 ProFTPD 1.3.0rc2 Server (Borkholder WWW/FTP Server) [192.168.3.2] ---> USER bbs348 <--- 331 Password required for bbs348. ---> PASS ***** <--- 230 User bbs348 logged in. ---> CWD dealer <--- 250 CWD command successful ---> TYPE I <--- 200 Type set to I ---> PASV <--- 227 Entering Passive Mode (65,40,78,243,54,239) <--- 220 ProFTPD 1.3.0rc2 Server (Borkholder WWW/FTP Server) [192.168.3.2] ---> USER bbs348 <--- 331 Password required for bbs348. ---> PASS ***** <--- 230 User bbs348 logged in. ---> CWD dealer <--- 250 CWD command successful ---> TYPE I <--- 200 Type set to I ---> PASV <--- 227 Entering Passive Mode (65,40,78,243,56,229) Regards, Steve |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|