Last active
August 3, 2018 08:16
-
-
Save stigfaerch/8756668fbfbfa4d3c29be8f12ef6b9c7 to your computer and use it in GitHub Desktop.
Box.com DAV - curl - create folder, upload/download file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#create folder | |
curl -u me@email.com:mypassword -X MKCOL "https://dav.box.com/dav/remote_foldername" | |
#upload | |
curl -u me@email.com:mypassword -T local_file_path https://dav.box.com/dav/remote_file_name | |
#download | |
curl -u me@email.com:mypassword https://dav.box.com/dav/remote_file_name --output download_file_path |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment