copy or move a file from one ftp server to another
Posted
by Oleg Pavliv
on Stack Overflow
See other posts from Stack Overflow
or by Oleg Pavliv
Published on 2009-06-06T20:47:17Z
Indexed on
2010/04/03
15:13 UTC
Read the original article
Hit count: 630
I have a java application, which copies or moves a bunch of giga files from one ftp server to another. Currently it copies a file from the first fpt server to the local computer (where it runs) using ftp get and then copies it to the second ftp server using ftp put. I use net library from apache.
Is it possible to copy it directly from one ftp server to another bypassing the local computer? One idea is to create a java telnet session and and send a couple of ftp commands. Will it work? Any other suggestions?
© Stack Overflow or respective owner