permaculture playing cards*
The moose likes Other Open Source Projects and the fly likes Commons Net Ftp how to perform checksum on file in the server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Commons Net Ftp how to perform checksum on file in the server " Watch "Commons Net Ftp how to perform checksum on file in the server " New topic
Author

Commons Net Ftp how to perform checksum on file in the server

Meir Yan
Ranch Hand

Joined: Apr 27, 2006
Posts: 597
Hello all
im building ftp client that needs to pull files but i allso need to verify that the files
are downloaded completely , i was thinking to do it with checksum , but i didn't found
ant way to do it on the server ftp side .
is there any way to checksum file on the server ftp with Commons Net Ftp ?
thanks
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41073
    
  43
That seems unnecessarily complicated. The FTPFile class tells you how big the file is on the server, so you can compare that to the local file size during or after the download - no need for checksums.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Commons Net Ftp how to perform checksum on file in the server
 
Similar Threads
Problem with FTPClient
Regarding FTP froma remote server
problem in deplying the file on server
How to Check whether the file in the Ftpserver is a directory or not?
Doubt abt Socket