| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Port Command |
| User1022 Posts: 7 Member Since: 11/24/00 |
posted November 24, 2000 4:13 AM Hi! I'm trying to work with a FTP server that use ftpPassive=False so when I try to send a file FTP Tool send a Port command. This command should go with the IP address od the client. Well ftpTools is sending the command without the IP address in almast all cases (not in all) so the FTP server rejects the connection. I'm working with MS Proxy 2.0. Anybody knows why in some cases the FTP tool send the Port command without IP address? Thanks in advance. |
| User1022 Posts: 7 Member Since: 11/24/00 |
posted November 24, 2000 6:46 AM Hi! More data: I have checked the LocalAddress just before give the store command and it is OK. Why IP address is empty in the PORT command? Best regards. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 24, 2000 10:41 AM When you say "without the IP" do you mean it sends "PORT <crlf>" or do you mean it sends "PORT <wrong ip><crlf>? When we send the PORT command, we get the IP from Winsock. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 24, 2000 10:43 AM That's a weird one. If you click on the "details" button of the "About" box of one of samples, what do you see in the addesses listbox? |
| User1022 Posts: 7 Member Since: 11/24/00 |
posted November 24, 2000 3:00 PM Hi! I mean "PORT <crlf>" . I have stested also with others FTP Programs (WS_FTP) and it works. Thanks in advance. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 24, 2000 3:09 PM That's a weird one. If you click on the "details" button of the "About" box of one of samples, what do you see in the addesses listbox? Also, what happens if you try the same transfer with sample apps? Also, If you get the latest update do you still have trouble? |
| User1022 Posts: 7 Member Since: 11/24/00 |
posted November 25, 2000 4:45 PM Hi! Cliking in deatails appears thge following: Microsoft wsock32.dll Ver 2.2 32 bits of April 28 1998. LocaL add 192.188.30.70 Winsock 1.1 status on Win95. I have tested with the sample aaps and it took place the same: error 11101 500 'PORT' command not understood 425 Can't built data connection, connection refused. I have installed the last upgrade. The following is a trace. Recepcion<-220 es-lxweb1.isc.cw.net FTP server (Version wu-2.6.0(1) Fri Jun 23 09:17:44 EDT 2000) ready. Envio->USER gameday Recepcion<-331 Password required for gameday. Envio->PASS XMLA33211 Recepcion<-230 User gameday logged in. Recepcion<-220 es-lxweb1.isc.cw.net FTP server (Version wu-2.6.0(1) Fri Jun 23 09:17:44 EDT 2000) ready. Envio->USER gameday Recepcion<-331 Password required for gameday. Envio->PASS XMLA33211 Recepcion<-230 User gameday logged in. Envio->PORT Recepcion<-500 'PORT': command not understood. Envio->PORT Envio->STOR PRE_30_0006_3_35_133.Xml Recepcion<-500 'PORT': command not understood. Recepcion<-425 Can't build data connection: Connection refused. Envio->STOR CON_0006_2_8_135.Xml Envio->QUIT Recepcion<-221-You have transferred 0 bytes in 0 files. Recepcion<-221-Total traffic for this session was 365 bytes in 0 transfers. 221-Thank you for using the FTP service on es-lxweb1.isc.cw.net. 221 Goodbye. Recepcion<-425 Can't build data connection: Connection refused. Envio->QUIT Recepcion<-221-You have transferred 0 bytes in 0 files. Recepcion<-221-Total traffic for this session was 361 bytes in 0 transfers. 221-Thank you for using the FTP service on es-lxweb1.isc.cw.net. 221 Goodbye. Best regards. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 25, 2000 4:52 PM I'm sorry, but I honestly don't know why it would do that. We make a string out of the local address and pass it with the PORT command. This must be some weird thing with MSPROXY. Look's like you'll have to use PASV transfers in the situation. |
| User1022 Posts: 7 Member Since: 11/24/00 |
posted November 25, 2000 6:24 PM Hi! But why doesn't happend with other programs FTP programs as WS_FTP? What can I do for avoiding the problem. The customer doesn't want to work with passive mode. I think too many people is working with MSProxy and Passive=False so somebody should have had the same problem. Thanks. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted November 25, 2000 11:38 PM We are not going to be able to fix this one on the forum. Please contact support@dart.com so that we can open an incident and get started with a test scenario. Thanks. |
| User1022 Posts: 7 Member Since: 11/24/00 |
posted December 4, 2000 11:23 AM Hi! I have found the following error description in Microsoft database related with MS-Proxy client " Third-Party FTP Clients Cannot Connect WinSock Proxy can only support PASV or passive FTP connections. The client informs the remote server which port should be opened. Regular FTP connections require that the client listen and wait for the server to launch subsequent connections on any port. Most popular FTP clients have a configuration option to do PASV FTP, or you can use FTP through your Web browser. " Can be this teh reason of my problem? Does anybody know how can I avoid this problem? Thanks and best regards. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted December 4, 2000 11:52 AM In your first message you stated that you had to use passive = false. If you set passive = true the problem would go away because the PORT command would not be used. |
| User1022 Posts: 7 Member Since: 11/24/00 |
posted December 4, 2000 12:25 PM Hi! Yes but the my customer doesn't to work with ftpPassive = True. So I'need a solution. Best regards. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted December 4, 2000 12:35 PM I'm sorry, but I don't have anything else. As you yourself pointed out, MS's solution is to use Passive transfers. |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|