Donate Share

XJFTP

Tracker: Bugs

5 Passive mode support - ID: 1511685
Last Update: Comment added ( mmcnamee )

Some FTP clients (e.g. Apache common.net FTPClient)
expect some string to be added to the address string
that is returned when a passive communication is requested.

In XJFT 1.0.1, when the client requests passive
communication (PASV), XJFT respons with the responce
code 227 and the address and port on which the client
should connect. However some clients expect some string
to be attached to the address and port details (e.g.
"Entering Passive Mode").

Fix:

In class
>> ControlConnectionHandlerImpl

function
>> handle_pasv()

add the line
>> addrStr = "Entering Passive Mode (" + addrStr + ")";

just before the following return statement
>> return reply(227, addrStr);


You may also want to update the JUnit test cases so
this is also tested for in the future.


attilam ( attilam ) - 2006-06-24 05:39

5

Closed

Accepted

Mark McNamee

None

v1.0 (example)

Public


Comments ( 2 )




Date: 2006-07-14 10:42
Sender: mmcnameeProject Admin

Logged In: YES
user_id=605252

I'd accidentally broken the passive mode support in 1.0.3
and 1.0.4, this is fixed in 1.0.5!


Date: 2006-07-12 14:31
Sender: mmcnameeProject Admin

Logged In: YES
user_id=605252

This is fixed in XJFTP 1.0.4 - about to upload the updated
release.

Regards,
Mark


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
status_id Pending 2006-07-12 14:31 mmcnamee
close_date 2006-07-12 13:43 2006-07-12 14:31 mmcnamee
close_date - 2006-07-12 13:43 mmcnamee
assigned_to nobody 2006-07-12 13:43 mmcnamee
status_id Open 2006-07-12 13:43 mmcnamee
resolution_id None 2006-07-12 13:42 mmcnamee
artifact_group_id None 2006-07-12 13:42 mmcnamee