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.
Mark McNamee
None
v1.0 (example)
Public
|
Date: 2006-07-14 10:42 Logged In: YES |
|
Date: 2006-07-12 14:31 Logged In: YES |
| 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 |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use