opensciencegrid / stashcp

Apache License 2.0
0 stars 10 forks source link

plugin output shows incorrect TransferFileBytes and TransferTotalBytes #22

Closed matyasselmeci closed 2 years ago

matyasselmeci commented 2 years ago
% stashcp --plugininterface --methods http /chtc/PUBLIC/matyas/Python-3.6.1.tgz .
TransferStartTime = 1641608065
TransferEndTime = 1641608074
TransferLocalMachineName = "siren.cs.wisc.edu"
TransferProtocol = "stash"
TransferUrl = "/chtc/PUBLIC/matyas/Python-3.6.1.tgz"
TransferType = "download"
TransferSuccess = true
TransferFileBytes = 100
TransferTotalBytes = 100

shows that 100 bytes were transferred; stat shows the file is actually 22540566 bytes.

Same thing with --methods cvmfs.

(stashcp version 6.5.1)