fast-data-transfer / fdt

FDT is an Application for Efficient Data Transfers which is capable of reading and writing at disk speed over wide area networks (with standard TCP). It is written in Java, runs an all major platforms and it is easy to use. FDT is based on an asynchronous, flexible multithreaded system and is using the capabilities of the Java NIO libraries.
https://fast-data-transfer.github.io/
Apache License 2.0
198 stars 45 forks source link

How to use the md5 option in FDT? #33

Open patder opened 5 years ago

patder commented 5 years ago

Hi, I have an issue concerning the mechanics of the -md5 option. What I want to do is transfer the content of a directory with the recursive mode -r. To ensure the integrity of the files I want to use the -md5 option. The problem is that I can't figure out yet how to make it work. If I set the option on client-side, the only difference I noticed is the additional console-output of a list like this (something mapped to the UUIDs):

INFORMATION lia.util.net.copy.transport.ControlChannel sendMsgImpl [ ControlChannel ] sending message tag ( 10 ): END_SESSION msg: {3069d1ce-73a0-494a-b16c-523a7ab34bfc=[B@30248537, ...}

On the server-side I don't see any difference and I cant't find a way to validate or access the md5 checksums (if they were transferred on some way).

Console call of client-side: java -jar fdt.jar -md5 -r -c myServer -p myPort /data/source_dir/ -d /data/dest_dir