Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.6k views
in Java FTP by
I have a problem. On the remote host, I am able to change, make directories.I am able to get the files to the local machine using FTPClient.I need to put the transferred files in specific directories depending on the file names.The files are transferred and placed in a default home directory by default.Can you suggest how I do this ? I will be ftp- ing the files every 15 minutes.So I need to place them in their respective directories when I get the files.

2 Answers

0 votes
by (51.6k points)
A new feature of our commercial product, edtFTPj/SSL, may in fact do what you're attempting to do. Have a look at the RecursiveOperations class to see if it suits your needs and please let us know if it doesn't.

Alternatively, it sounds like you'll have to do some file/directory handling in your client software.

- Hans (EDT Support)
0 votes
by
It is possible to transfer a remote file to a required local dir using FtpClient.get(java.lang.String localPath, java.lang.String remoteFile)

Categories

...