Thank you for your reply. I will post any questions, if any here. Rajika
On Fri, Sep 7, 2012 at 6:06 PM, Andreas Prieß <[email protected]> wrote: > Look here > https://issues.apache.org/jira/browse/VFS-412 > > and in the list archive the Thread "[vfs] FTPS" on 23.04.2012 and before. > > HTH > Andreas > > > On 07.09.2012 12:01, Rajika Kumarasiri wrote: > > hello, > > > > I am trying to use the FTPS(SSL over FTP) support in commons-vfs. I tried > > to resolve a folder in proftpd ftp server(configured only to accept SSL > for > > control and data). I have the following simple code. > > > > // start of source > > > > FTPSTest ftpsTest = new FTPSTest(); > > StandardFileSystemManager fsm = > ftpsTest.getFileSystemManager(); > > > > FileObject file = > > fsm.resolveFile("ftps://ftpuser:user123@localhost/test"); > > > > FileObject[] children = file.getChildren(); > > > > // end of source > > > > When I tried this FTPs client it fails with an error on server - SSL/TLS > > required but absent on data channel, denying LIST command. > > > > I did some debugging and USER, PASS, PORT command was > > invoked successfully and user was able to log in. When tries to resolve > the > > folder it fails with the above error. As the error says it seems there is > > no SSL/TLS connections from the client when trying to list the > folder(when > > I turn off SSL/TLS for data channel things worked as expected). > > > > I looked at the org.apache.commons.vfs2.provider.ftps.FTPSClientFactory I > > didn't see any place where the FTPSClient#setKeyManager/TrustManager is > > used(although trust store manager is initiated). I was wondering if > anybody > > has got to work the FTPS support in commons-vfs. I have the SSL debug log > > of the client side as well. > > > > Rajika > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
