> How can I change the data port? > This seems to be always chosen by the client incoming.
In no passive mode, yes it is always the same port. > PASV makes no difference. Sure it make a difference. In PASV mode, the server select the port and accept connections on that port. Have a look at the PasvPortRangeStart and PasvPortRangeSize properties. It allows you to select the port range used by the server to reply to the client PASV requests. Use a large enough range or you'll have problem when too much clients are connected. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be ----- Original Message ----- From: "John Preston" <[EMAIL PROTECTED]> To: "ICS support mailing" <twsocket@elists.org> Sent: Thursday, August 02, 2007 1:41 PM Subject: [twsocket] 501 Cannot STOR. Error 10053 from McAfee on data port Hi, I have a problem with an FTP server based on François's sample, which I use. I added a port change capability to allow the server to run on a user selected port, rather than 21, as there is a copy of McAfee VirusScan Enterprise + Anti-Spyware Module 8.0.0 present, and it is configures to block FTP inbound on ports 20-21. Now incoming FTPs work fine on all ports when the port blocking rule is disabled, but when it is enabled (it says "stops viruses such as Nimda spreading") then everything works up until a STOR command is issued by the client, at which point the transfer fails with the error: 501 Cannot STOR. Error 10053 in function connect This I believe is because I haven't changed the data port, only the control port for the server. How can I change the data port? This seems to be always chosen by the client incoming. PASV makes no difference. Thanks in advance, John Preston -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://www.elists.org/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be