File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Meir Yan
Ranch Hand
Posts: 599
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic