how to copy the directory in to ftp server using java ?
As much as I know,You can do this as follows:
First,Create a directory in the current working directory with the same name (which you wish to copy) as:
Change the working directory :
// Here "ftp" is the Object of Ftp
Now,if need, You can change the local directory.For example :
Now you can upload file in your remote directory as follows :
I Hope this Info helps you.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.