You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2011/04/13 18:09:05 UTC

[jira] [Resolved] (NET-293) Should FTPSClient set "PBSZ 0" and "PROT P" for FTPS connections

     [ https://issues.apache.org/jira/browse/NET-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved NET-293.
----------------------

    Resolution: Not A Problem

Not all servers seem to require PBSZ/PROT P.

For those that do, the user can always send the commands.

> 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
>          Components: FTP
>    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.
For more information on JIRA, see: http://www.atlassian.com/software/jira