Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

AmawScritz

Posts

6

Joined

Mon Sep 19, 2011 6:46 pm

Copy from One FTP Server to the Next

by AmawScritz » Wed Feb 15, 2012 3:22 pm

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
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Copy from One FTP Server to the Next

by support2 » Wed Feb 15, 2012 3:43 pm

There is FXP, although that is in edtFTPj/PRO, not edtFTPj.

http://www.enterprisedt.com/products/ed ... nsfer.html
no avatar
User

AmawScritz

Posts

6

Joined

Mon Sep 19, 2011 6:46 pm

by AmawScritz » Wed Feb 15, 2012 4:29 pm

Thanks for the information. I am currently using the Free version. So I did not see that functionality in the documentation.
no avatar
User

AmawScritz

Posts

6

Joined

Mon Sep 19, 2011 6:46 pm

by AmawScritz » Wed Feb 15, 2012 4:41 pm

How about copying from one directory to another directory (with in the same FTP server), without using FXP/FXSP.
no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Wed Feb 15, 2012 4:44 pm

Try using RenameFile.
no avatar
User

AmawScritz

Posts

6

Joined

Mon Sep 19, 2011 6:46 pm

by AmawScritz » Fri Feb 17, 2012 1:08 pm


Who is online

Users browsing this forum: No registered users and 11 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign
cron