cern-fts / davix

High-performance file management over WebDAV / HTTP
GNU Lesser General Public License v2.1
84 stars 36 forks source link

Davix-get/cp does not allow to process more than a one file at a time #57

Open FrMinarini opened 3 years ago

FrMinarini commented 3 years ago

with Davix 0.7.5, it doesn't seem possible to process more than one file at a time with a single davix-get/davix-cp command.

For instance, I've tried this syntax to get content from https source to locale: davix-get -P grid https://example.org:PORT/folder/test1 https://example.org:PORT/folder/test2 > txtfile which results into: (Davix::Tools::davix-get) Error: File not found for destination file https://example.org/folder/test2

Moreover, if I try to get from the same two files into a local folder: davix-get -P grid https://example.org:PORT/folder/test1 https://example.org:PORT/folder/test2 ./localfolder/ I get: davix-get, Error: Wrong argument format

Finally, if I try: davix-cp -P grid https://example.org:PORT/folder/test1 https://example.org:PORT/folder/test2 ./localfolder/

The result is: (Davix::HttpThirdPartyCopy) Error: Transfer failed: failure: SSLException while pushing https://example.org/folder/test2 Broken pipe (Write failed).

All the aforementioned commands have been tried also with the -r 1 option instead of -P, which however did not change the result.

Is it possible to have that functionality?

Thanks a lot for your attention and effort