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

Joerg Schaible resolved VFS-412.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1
         Assignee: Joerg Schaible

Applied, but I've changed the level values from String to an enum. I did not 
provide an additional setting for the buffer size, because it is normally set 
to 0 anyway representing data streaming.

$ svn ci -m "Add support for FTPS command to set the DataChannelProtectionLevel 
(VFS-412)."
Sending        core/src/main/java/org/apache/commons/vfs2/Resources.properties
Sending        
core/src/main/java/org/apache/commons/vfs2/provider/ftp/FtpClientFactory.java
Sending        
core/src/main/java/org/apache/commons/vfs2/provider/ftps/FtpsClientFactory.java
Adding         
core/src/main/java/org/apache/commons/vfs2/provider/ftps/FtpsDataChannelProtectionLevel.java
Sending        
core/src/main/java/org/apache/commons/vfs2/provider/ftps/FtpsFileSystemConfigBuilder.java
Sending        
core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/AbstractFtpsProviderTestCase.java
Sending        
core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderExplicitTestCase.java
Sending        
core/src/test/java/org/apache/commons/vfs2/provider/ftps/test/FtpsProviderImplicitTestCase_Disabled.java
Sending        pom.xml
Sending        src/changes/changes.xml
Transmitting file data ..........
Committed revision 1448606.
                
> [FTPS] Support to send execPROT("P")
> ------------------------------------
>
>                 Key: VFS-412
>                 URL: https://issues.apache.org/jira/browse/VFS-412
>             Project: Commons VFS
>          Issue Type: Improvement
>            Reporter: Jose Juan Montiel
>            Assignee: Joerg Schaible
>            Priority: Minor
>              Labels: patch
>             Fix For: 2.1
>
>         Attachments: patch_412.txt, patch_exexprot.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The layer over FTPSClient can't permit to send a client.execPROT("P") and 
> this make in FTPS explicit (with vsFTPd 2.0.7) make an error:
> SSL version: TLSv1/SSLv3, SSL cipher: DES-CBC3-SHA, not reused, no cert
> 522 Data connections must be encrypted.
> The patch offer via FtpsFileSystemConfigBuilder the option to set execPROT 
> like do with setPassiveMode.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to