Results 1 to 2 of 2
  1. #1
    mcoto800 is offline Member
    Join Date
    Feb 2010
    Posts
    1
    Rep Power
    0

    Default Copy files between servers

    Hi,

    I need to copy files between servers in a LAN.

    For example from "c:/file1.txt" of server 1 to "c:/file1.txt" on server 2.

    I just need to do it on Java!

    Thanks
    Last edited by mcoto800; 02-04-2010 at 09:57 PM. Reason: Missing explanation

  2. #2
    travishein's Avatar
    travishein is offline Senior Member
    Join Date
    Sep 2009
    Location
    Canada
    Posts
    684
    Rep Power
    5

    Default

    what will invoke this ?
    i recommend creating a kind of protocol for file access (such as what your servlet will implement with post parameters, where you can list, copy, rename, move, delete, create, get.) - every operation on file and directory operations within the restricted shared folders. then have the server configured to connect to the other serve,r such as a http client (e.g. commons-http client)

    oh yea, what is teh cient supposed to be, a web browser clicking a screen to do the operations, a java desktop application ?

Similar Threads

  1. subforum for servers
    By tushar88 in forum Suggestions & Feedback
    Replies: 3
    Last Post: 03-10-2009, 02:25 AM
  2. [SOLVED] connecting two servers at atime
    By sandeepsai39 in forum JDBC
    Replies: 3
    Last Post: 02-25-2009, 05:56 AM
  3. Servers supporting EJBeans
    By ravian in forum Enterprise JavaBeans (EJB)
    Replies: 3
    Last Post: 01-03-2008, 10:44 AM
  4. Looking for servers on ports
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 12-13-2007, 09:28 AM
  5. Replies: 0
    Last Post: 07-30-2007, 11:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •