Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
3.9k views
in Java FTP by (300 points)
Hi!

I would like to copy a given file from one FTP server to the next.

I've tried reading from source FTP server to the local disk, and writing back to the destination FTP server.

Instead is there a more easier way provided in this API? (I know that FTP does not have a COPY command, I was just wondering if the API had a method that mimics the copy)

/A

5 Answers

0 votes
by (162k points)
There is FXP, although that is in edtFTPj/PRO, not edtFTPj.

http://www.enterprisedt.com/products/ed ... nsfer.html
0 votes
by (300 points)
Thanks for the information. I am currently using the Free version. So I did not see that functionality in the documentation.
0 votes
by (300 points)
How about copying from one directory to another directory (with in the same FTP server), without using FXP/FXSP.
0 votes
by (51.6k points)
Try using RenameFile.
0 votes
by (300 points)
Thanks! The rename works like a charm.

Categories

...