Results 1 to 4 of 4
  1. #1
    pugazhendhi's Avatar
    pugazhendhi is offline Pugazhendhi
    Join Date
    May 2011
    Location
    Bangalore
    Posts
    20
    Rep Power
    0

    Default What is the best machanism to transfer files in a WAN

    What is the best machanism to transfer files in a WAN and how can we achieve it through java.
    Through
    Socket Programing,
    Apache commons Ftp server & client
    or through RMI
    :) Small word can mean it more ,.

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,529
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by pugazhendhi View Post
    What is the best machanism to transfer files in a WAN and how can we achieve it through java.
    Through
    Socket Programing,
    Apache commons Ftp server & client
    or through RMI
    Maybe a torrent is nice to use.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    pugazhendhi's Avatar
    pugazhendhi is offline Pugazhendhi
    Join Date
    May 2011
    Location
    Bangalore
    Posts
    20
    Rep Power
    0

    Default

    thats great answer i love it ., wow how brilliant you are :p
    :) Small word can mean it more ,.

  4. #4
    quad64bit's Avatar
    quad64bit is offline Moderator
    Join Date
    Jul 2009
    Location
    VA
    Posts
    1,323
    Rep Power
    7

    Default

    Ha! Well, I have had good luck with straight TCP. If you're talking file transfer that is. Its easy to write a client/server combo that will allow file transfer like this, and it is fast (as fast as your connection assuming you use large buffers). If you mean for communication, then RMI is great, although a little complicated for basic use. I prefer Object Serialization most of the time, and then code a simple communication package. This is handy for text messages, simple commands, coords or flags, etc...

Similar Threads

  1. Replies: 0
    Last Post: 02-02-2011, 11:58 AM
  2. need help to create login machanism for web application
    By nikhil.engineer.ec in forum New To Java
    Replies: 2
    Last Post: 12-15-2010, 12:08 PM
  3. File transfer hanging - Jar files in linux only!
    By rc_coder in forum New To Java
    Replies: 3
    Last Post: 10-11-2010, 10:13 AM
  4. can you tell how transfer a List eg. created as...between files jsp/java
    By lse123 in forum JavaServer Pages (JSP) and JSTL
    Replies: 21
    Last Post: 02-10-2010, 08:52 AM
  5. transfer boolean to 1's and 0's
    By Nikohw in forum Java Applets
    Replies: 5
    Last Post: 09-12-2009, 09:05 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
  •