Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

davix-put doesn't allow to upload local directory to http server #49

Closed
lumorganti opened this issue Oct 25, 2019 · 2 comments
Closed

Comments

@lumorganti
Copy link

With davix-0.7.3-1, we do not manage to upload a local directory to http server:

$ davix-put -H "Authorization: Bearer ${AT}" test_folder/ https://example.org/dir1
(Davix::Tools::davix-put) Error: test_folder/is not a valid regular file

This should be possibile, according to man:
EXAMPLES
[...]
Upload local directory to a http server
davix-put mydir http://example.org/dir1

@gbitzes
Copy link
Contributor

gbitzes commented Oct 25, 2019

Hi, try -r 1 option. (1 means the number of parallel threads to use for the upload, you could also try higher numbers)

You are right, the example is wrong - I'll update it, thanks!

@lumorganti
Copy link
Author

Thank you, it works!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants