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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org
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.

Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org

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

Sebb updated NET-293:
---------------------

    Component/s: FTP

> 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.
-
You can reply to this email to add a comment to the issue online.