enterprisedt.com Forum Index CompleteFTP
RegisterSearchFAQMemberlistUsergroupsLog in
Reply to topic Page 1 of 1
Copy from One FTP Server to the Next
Author Message
Reply with quote
Post Copy from One FTP Server to the Next 
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

View user's profile Send private message
Reply with quote
Post Re: Copy from One FTP Server to the Next 
There is FXP, although that is in edtFTPj/PRO, not edtFTPj.

http://www.enterprisedt.com/products/edtftpjssl/doc/api/com/enterprisedt/net/ftp/FXPTransfer.html

View user's profile Send private message Visit poster's website
Reply with quote
Post  
Thanks for the information. I am currently using the Free version. So I did not see that functionality in the documentation.

View user's profile Send private message
Reply with quote
Post  
How about copying from one directory to another directory (with in the same FTP server), without using FXP/FXSP.

View user's profile Send private message
Reply with quote
Post  
Try using RenameFile.

View user's profile Send private message Send e-mail
Reply with quote
Post  
Thanks! The rename works like a charm.

View user's profile Send private message
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum