Skip to content

Commit 4ea08f5

Browse files
committed
Document checksum behaviour during upload (Adler32 + MD5)
1 parent 6538250 commit 4ea08f5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ada/ada

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,18 @@ usage() {
101101
102102
--upload /localpath/file /remotepath/[file] [--verify-checksum] [--allow-insecure-redirects]
103103
Upload a file from the local system to dCache.
104+
104105
With --verify-checksum, Ada computes the local file's
105106
MD5 checksum and sends it along with the upload.
106107
If the uploaded file's checksum does not match,
107108
dCache aborts the transfer and removes the corrupt file.
108109
This ensures data integrity during transfer.
110+
111+
By default, dCache uses Adler32 as checksum.
112+
With --verify-checksum, dCache will store both the
113+
default (Adler32) and the MD5 checksum in its database.
114+
Without --verify-checksum, only the Adler32 checksum
115+
is stored, and not verified.
109116
110117
Ada does not overwrite files. If the destination file
111118
exists, Ada will print an error message, except when

0 commit comments

Comments
 (0)