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

Discussion in 'Java' started by varlagas@yahoo.com, Jul 13, 2006.

  1. Guest

    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!!!
    , Jul 13, 2006
    #1
    1. Advertising

  2. Oliver Wong Guest

    <> wrote in message
    news:...
    > 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!!!


    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
    Oliver Wong, Jul 13, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Nico Grubert
    Replies:
    1
    Views:
    2,591
    Markus Rosenstihl
    Sep 21, 2005
  2. Replies:
    4
    Views:
    367
  3. Tim Chandler
    Replies:
    0
    Views:
    201
    Tim Chandler
    Oct 7, 2003
  4. Tim McIntyre

    copying files to remote machine

    Tim McIntyre, Jun 27, 2007, in forum: Ruby
    Replies:
    1
    Views:
    117
  5. PerlFAQ Server
    Replies:
    0
    Views:
    115
    PerlFAQ Server
    Apr 9, 2011
Loading...

Share This Page