You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by haipeng du <ha...@gmail.com> on 2004/12/07 05:35:07 UTC
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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
Re: [io] copy file from two systems
Posted by Stephen Colebourne <sc...@btopenworld.com>.
[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" <ha...@gmail.com>
To: "Jakarta Commons Users List" <co...@jakarta.apache.org>
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: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org