aspose file tools*
The moose likes Sockets and Internet Protocols and the fly likes program to transfer files from one server to another and displaying progress bar for each transfer Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "program to transfer files from one server to another and displaying progress bar for each transfer" Watch "program to transfer files from one server to another and displaying progress bar for each transfer" New topic
Author

program to transfer files from one server to another and displaying progress bar for each transfer

trisha mehta
Greenhorn

Joined: Jun 05, 2013
Posts: 1
i have written a java code to transfer files from one server to another using the concept of socket programming. now in the same code i also want to check for the network connection availability before each file is transferred. i also want that the files transferred should be transferred according to their numerical sequence. And while the files are being transferred the transfer progress of each file i.e the progress percentage bar should also be visible on the screen.

i will really appreciate if someone can help me with the code. i am posting the code i have written for file transfer.

(ClientMain.java)


(DirectoryTxr.java)


(ServerMain.java)


(DirectoryRcr.java)


1. ClientMain.java and DirectoryTxr.java are the two classes under client application. ServerMain.java and DirectoryRcr.java are the two classes under Server application.
2. run the ClientMain.java and ServerMain.java
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: program to transfer files from one server to another and displaying progress bar for each transfer