This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Sockets and Internet Protocols and the fly likes ftp transfer progress Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "ftp transfer progress" Watch "ftp transfer progress" New topic
Author

ftp transfer progress

Jan Ivanov
Greenhorn

Joined: Jul 20, 2006
Posts: 19
Hi!

I need to transfer files from one server to many others and I need to show progress for each file in my servlet ? How can I do it ?
Jan Ivanov
Greenhorn

Joined: Jul 20, 2006
Posts: 19
Very important is that I need to copy taht file to each of the servers at one moment. Not file after file. I don't know how to get the progress state for each file for example for every one second ? Threads ? EJB ? Any ideas ? Please help me !
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Ftp doesn't really have a way to insure that all the files go simultaneously.
I suppose you could zip them all up and send the one zip file.

There are some FTP libraries in the commons/net package from Apache Jakarta.

http://jakarta.apache.commons/net


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Moving to Sockets and Internet Protocols.
Jan Ivanov
Greenhorn

Joined: Jul 20, 2006
Posts: 19
there is no problem in transferring those files. my question is how to show the progress for each file at one moment ?
[ August 31, 2006: Message edited by: Jan Ivanov ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ftp transfer progress
 
Similar Threads
HIbernate and EJB3 in JBoss
copying all of the objects in one schema over to another schema
Progress / Status update.
Please advice
Progress bar component.