I think I may have found a bug in specifying passive ports for ssl connections.
 
In FtpDataConnection.setPasvCommand(), the line:
 
servSoc = ssl.createServerSocket(null, address, this.port)
 
should instead be:
 
servSoc = ssl.createServerSocket(null, address, port)
 
Shouldn't it?  It's ignoring the preset passive ports by using the class 
attribute this.port instead of port.  After I made this change locally it looks 
like it picks up the write list of passive ports.
 
Thanks,
Gary

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thu 6/15/2006 4:49 PM
To: [email protected]
Subject: Specifying passive ports




Does specifying the passive ports property work using this ftp server?
When I try to specify a port to use, the server hangs on trying to get a
port (from the PASV command).

I'm changing config.data-connection.passive.ports parameter from 0 to
5000 and it hangs.  My understanding is that it's supposed to be a comma
separated list. 

Thanks,


Gary T. Mui * Vice President * SunGard Transaction Network * 445
Hamilton Avenue * 2nd Floor * White Plains, NY 10601 
Tel 914-989-3118 * Fax 914-422-3693 * [EMAIL PROTECTED] *
www.sungard.com/stn
SunGard Institutional Brokerage Inc. * Member NASD/SIPC

CONFIDENTIALITY: This email (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited. If you received this email in error,
please notify the sender and delete this email from your system. Thank
you.


Reply via email to