Skip to main content

file transfer

1 reply [Last post]
Joined: 2008-09-09

I am using sockets for transferring file but unable to transfer large files because of unreliable connection any one can tell me how can i make connection reliable. can i move to cms, file transfer is possible using cms on any type of network including private connection(using relay). If yes then how can i do this and plz tell me the limitations too.


Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-15

You can used basically any method, you just need to implement retry and duplicate detection (and restart for partial transfers). There are some FT protocols available who will do that (like WS-RM, ASx and even FTP). I think TCP (with and without HTTP) are the best options, but also possible is UDP, if your network is extremly unreliable or strange (I think JGroups has some support code for this).

See here for example: