You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dave Bartmess <di...@edingo.net> on 2005/01/30 19:02:02 UTC

How to remotely copy files from remote server to remote server?

I've tried several ways, but can't seem to find a way to copy a set of
files from a directory on a remote server to another directory on the
same or a different remote server.

ftp and scp don't work, and we don't have the option of sshexec
(security issues, supposedly). ftp and scp only copy from a local file
to the remote dir, and we don't want to have to spend the time copying
from the remote server to the local machine, then back up to the remote
server in the new directory because of the > 50megs size... 

Does anyone know of a contrib class that would work? If not, I guess
I'll have to spend the time to write my own, but with my schedule that's
gonna be hard..

Thanks!
-- 
David A. Bartmess
Software Configuration Manager / Sr. Software Developer
eDingo Enterprises
http://edingo.net
_________________________________________________________________
jSyncManager Development Team (http://www.jsyncmanager.org)
jSyncManager Email List
(https://lists.sourceforge.net/lists/listinfo/jsyncmanager-devel)
 
 But one should not forget that money can buy a bed but not sleep, 
 finery but not beauty, a house but not a home, 
 medicine but not health, luxuries but not culture, 
 sex but not love, and amusements but not happiness.

Re: How to remotely copy files from remote server to remote server?

Posted by Nicolas Vervelle <nv...@club-internet.fr>.
IHMO, even if you find a task that copy from a remote server to an other
one, the task will need to retrieve the files from the first server to copy
them to the second server.

I really don't see how you could do a direct copy without executing a
process on one of the server.


----- Original Message ----- 
From: "Dave Bartmess" <di...@edingo.net>
To: <us...@ant.apache.org>
Sent: Sunday, January 30, 2005 7:02 PM
Subject: How to remotely copy files from remote server to remote server?

I've tried several ways, but can't seem to find a way to copy a set of
files from a directory on a remote server to another directory on the
same or a different remote server.

ftp and scp don't work, and we don't have the option of sshexec
(security issues, supposedly). ftp and scp only copy from a local file
to the remote dir, and we don't want to have to spend the time copying
from the remote server to the local machine, then back up to the remote
server in the new directory because of the > 50megs size...

Does anyone know of a contrib class that would work? If not, I guess
I'll have to spend the time to write my own, but with my schedule that's
gonna be hard..



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org