>I must upload differents files on a FTP server and I wish to know how to >obtain the current percent of the file transfer.
Use storeFileStream (http://jakarta.apache.org/commons/net/apidocs/org/apache/commons/net/ftp/FTPClient.html#storeFileStream(java.lang.String)), retrieveFileStream, or appendFileStream depending on the nature of the transfer and keep track of how many bytes you've written/read relative to the size of the file. daniel -#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#- s a v a r e s e # In distant lands, I hear the call of my home. software research # Yet my work is not done. My journey's just begun. http://www.savarese.com/ # -- http://www.sleepandthetraveller.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
