Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ftp transfer progress  RSS feed

 
Jan Ivanov
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to Sockets and Internet Protocols.
 
Jan Ivanov
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!