| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Cannot Login with Trial |
| ejr5star From: Avon, OH USA Posts: 9 Member Since: 10/10/05 |
posted October 10, 2005 3:13 PM I am trying to test the trial, and if I can get it working I will purchase this product, however when trying I keep getting an error. Below is the source and error I am receiving. ON ERROR GOTO 0 Set ftp = Server.CreateObject("Dart.Ftp.1") ftpserver = xxx.xxx.xxx.xxx username = xxxxxx password = xxxxxx ftp.Login ftpserver,username,password If ftp.State = 2 Then response.write("connected.") ftp.Logout else response.write("error.") end if Set ftp = Nothing The error message I get is... Dart.Tcp.1 error '800a274c' The connection has been dropped because of a network failure or because the peer system failed to respond. Also caused when Connect, Send, Receive, Fill or Close methods are used with a Timeout parameter and the operation fails to complete within the specified number of milliseconds. The line it is referencing is the "Login" method. Attempting to connect to an FTP server with windows server 2003 running IIS 6.0 |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted October 10, 2005 3:16 PM Whatever machine you have specified as "ftpserver" could not be connected to on port 21. |
| ejr5star From: Avon, OH USA Posts: 9 Member Since: 10/10/05 |
posted October 10, 2005 3:23 PM Could this be related to an IIS 6.0 permisisons setting? I can connect to the FTP server on port 21 via FTP several FTP applications which I use during development however I am unable to connect when using this ASP script. Do any special IUSR_<computername> permissions need to be set for this to function through an ASP script being run under IIS 6.0? |
| ejr5star From: Avon, OH USA Posts: 9 Member Since: 10/10/05 |
posted October 10, 2005 3:26 PM I would like to add that this occurs in both Passive and Active modes... |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted October 10, 2005 3:26 PM You aren't putting the "ftp://" in the server name are you? |
| ejr5star From: Avon, OH USA Posts: 9 Member Since: 10/10/05 |
posted October 10, 2005 3:28 PM no I am not. Just the IP Address. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted October 10, 2005 3:34 PM Try using windows telnet to connect to port 21 on the same IP as follows (assumes IP is 1.1.1.1): Telnet.exe 1.1.1.1 21 Do you get the greeting message from the server? |
| ejr5star From: Avon, OH USA Posts: 9 Member Since: 10/10/05 |
posted October 10, 2005 3:37 PM connection fails on port 23. btw, thank you for the quick response! |
| ejr5star From: Avon, OH USA Posts: 9 Member Since: 10/10/05 |
posted October 10, 2005 3:39 PM I apologize..I mis-typed the command. The console connected. 220 Microsoft FTP Service |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted October 10, 2005 3:50 PM If that works, then I don't have an answer for you. It should be working. I'd double check to make absolutely sure you are using the correct IP and that a proxy is not involved. |
| ejr5star From: Avon, OH USA Posts: 9 Member Since: 10/10/05 |
posted October 10, 2005 3:53 PM I know for a fact I am using correct IP,login, and password information. Have you successfully implimented this component in an ASP script on a windows server 2003 with IIS 6.0? I realize that the possibility is perhaps remote(or not?) but I figured if someone out there can get it working (without turning IIS 6.0 into IIS 5 mode) then at least I know it is possible... |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted October 10, 2005 4:08 PM I just tried your exact scenario and it worked fine. |
| ejr5star From: Avon, OH USA Posts: 9 Member Since: 10/10/05 |
posted October 10, 2005 4:45 PM Could you please tell me, is your IIS running in IIS5 isolation mode or is it using the IIS 6 worker process mode? |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted October 10, 2005 4:55 PM Sorry, but I don't know. What happens if you change yours? |
| ejr5star From: Avon, OH USA Posts: 9 Member Since: 10/10/05 |
posted October 10, 2005 5:14 PM changing to IIS 5 isolation is unfortunately not an option for me. Thank you very much for your support. Perhaps I will look into running .NET parallel with ASP... |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|