Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / July 2006

Tip: Looking for answers? Try searching our database.

Copying a file from path P1 to path P2 on a *remote* machine...

Thread view: 
varlagas@yahoo.com - 13 Jul 2006 09:59 GMT
Let there be a file F in path P1 in remote machine R. I have userid and

password for that remote machine and can do FTP, etc. just fine.

Now, let's say that I wish to copy file to a different path (say) P2,
in the same remote machine R, for backup purposes. Surely, I cannot use

Java file I/O to that purpose? How could I do this through Java?

(My Java code is running on an AS/400...)

Thx!!!
Oliver Wong - 13 Jul 2006 19:27 GMT
> Let there be a file F in path P1 in remote machine R. I have userid and
>
[quoted text clipped - 8 lines]
>
> Thx!!!

   What services does R expose? You mentioned FTP, and etc. The contents of
"etc." are important. This might be easy to do with ssh, for example. It's
doable with FTP (assuming adequate permissions), but inefficient.

   - Oliver


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.