Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.1k views
in Java FTP by (120 points)
Hello
I am using edtftpj-1.5.2 in writing a FTP Client but I have difficulty in transferring folder which contain subfolders and files to FTP Server. Could you show me the way to transfer folders with subfolders and files in it ???
I am using JDK 5.0 and the library "commons-io-1.2" from Apache

Thank you very much.

1 Answer

0 votes
by (162k points)
Directory transfers aren't supported in edtFTPj.

You can code it yourself using recursion and dirDetails(), or take a look at edtFTPj/PRO, which has a comprehensive API supporting directory operations.

See http://www.enterprisedt.com/products/ed ... rview.html.

You can view the API at

http://www.enterprisedt.com/products/ed ... rface.html

Please note that edtFTPj/PRO is a commercial product (which funds development of the open source edtFTPj).

Hello
I am using edtftpj-1.5.2 in writing a FTP Client but I have difficulty in transferring folder which contain subfolders and files to FTP Server. Could you show me the way to transfer folders with subfolders and files in it ???
I am using JDK 5.0 and the library "commons-io-1.2" from Apache

Thank you very much.

Categories

...