Hi all, 

We have implemented an FTP server service based on this excellent Apache 
project. There is one detail, though, that isn't clear to me in relation to the 
passive mode: What value should be returned by the method requestPassivePort() 
in cases where all available (i.e. configured) passive ports are in use? The 
return value of the method is a primitive int, so I can't return NULL.
Also, is there a way to get a list of all passive ports that are available (in 
use or not)? Background is that a customer is having issues using the FTP 
server in passive mode when connecting through a firewall. 
Thanks a lot. 

Kind regards, 

Martin 
   

Reply via email to