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.