[io] has no special code for handling multiple servers, or for scp. If you can mount one server so it appears to be a directory of the other server then you could use [io].

Alternatively, try looking at commons-[net] or the ant project - http://ant.apache.org

Stephen
----- Original Message ----- From: "haipeng du" <[EMAIL PROTECTED]>
To: "Jakarta Commons Users List" <[EMAIL PROTECTED]>
Sent: Tuesday, December 07, 2004 4:35 AM
Subject: copy file from two systems



How could I use commons IO package to copy file from one system to
another one.(both of the are linux). Do I need some special servers
for that? Could I use scp to do that in java program.
Thanks

--
Haipeng Du
Software Engineer
Comphealth,
Salt Lake City

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to