wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: program to transfer files from one server to another and displaying progress bar for each transfer
 
Similar Threads
NIO Socket weirdnes in Solaris 2.10
Data loss converting StringBuilder to byte[]?
Multithreading client socket throws Stream corrupted exception
Easy way to get total number of files on disk?
Cheking dir