Re: [twsocket] FTP Connection in Passive mode

2006-10-24 Thread Arno Garrels
Either you buy a router that is smart enough to handle this situation or do not use Pasv mode within the LAN. Or modify the FTP server component in a way that PasvIpAddr can be set privately for a particular client depending on it's source IP (just an idea?). --- Arno Garrels [TeamICS] http

Re: [twsocket] FTP Connection in Passive mode

2006-10-24 Thread Arnold FLUTEAUX
Ok, I understand that port 21 is an exception and the router replaces automatically the private IP by the public IP. It’s not the case for others ports. OK. And for these others cases, we must use PASVIPAdress in which, we set public IP. So now, suppose that I’ve a server behind a router with IP

Re: [twsocket] FTP Connection in Passive mode

2006-10-24 Thread Arno Garrels
Arnold FLUTEAUX wrote: > Yes I understand that we can solve this with PasvIPAddr but I don't > understand why we get public IP with port 21 and not with another > port. It's curious and this is also the case with IIS FTP Server. > Why must we set PasvIPAddr only when we want to have transfert on >

Re: [twsocket] FTP Connection in Passive mode

2006-10-24 Thread Time Bandit
> Why must we set PasvIPAddr only when we want to have transfert on another > port than 21 ? You never have transfert on port 21, this is the control port. see http://slacksite.com/other/ftp.html for an explanation hth -- To unsubscribe or change your settings for TWSocket mailing list please g

[twsocket] FTP Connection in Passive mode

2006-10-24 Thread Arnold FLUTEAUX
Yes I understand that we can solve this with PasvIPAddr but I don't understand why we get public IP with port 21 and not with another port. It's curious and this is also the case with IIS FTP Server. Why must we set PasvIPAddr only when we want to have transfert on another port than 21 ? Thanks

Re: [twsocket] FTP Connection in Passive mode

2006-10-23 Thread Arno Garrels
Sounds like the router exchanges the private IP by the public IP in the server response on port 21 only. Is the router configured to allow incomming connections to the passive ports (a range set at the FTP server)? If this doesn't help: TFtpServer has a property PasvIpAddr that should be assig

[twsocket] FTP Connection in Passive mode

2006-10-23 Thread Arnold FLUTEAUX
Hi, I want to connect in Passiv mode to a server with, for example, this public address: 80.118.187.130. - If I connect to server on port 21, I receive after command "PASV", this response 227 Entering Passive Mode (80.118.187.130,132,178). So we have the good IP address and the client can c