Should FTPSClient set "PBSZ 0" and "PROT P" for FTPS connections
----------------------------------------------------------------
Key: NET-293
URL: https://issues.apache.org/jira/browse/NET-293
Project: Commons Net
Issue Type: Improvement
Affects Versions: 2.0
Reporter: Sean Owen
Priority: Minor
I don't know enough about the FTPS spec to know whether this is a bug or not --
somehow thinking not. But I spent some time debugging a connection to an FTPS
server and in the end discovered that it would only work if the following
commands were sent after login:
PBSZ 0
PROT P
Otherwise it would fail with "426 Transfer Aborted" after the file transfer
began.
I note that another FTPS desktop client I have did specify these and succeeded,
which is the only thing that prompted me to wonder whether this should be set
by default by FTPSClient.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.