2016-04-30 84 views

回答

3
$ curl --user username:password -X PUT "https://www.myowncloudserver.com/remote.php/webdav/MY_FOLDER" --data-binary @"file.txt" 
+0

我改變了一點,但這個作品,謝謝! –

+2

您需要將文件名添加到目標網址「https:// www.myowncloudserver.com/remote.php/webdav/MY_FOLDER/file.txt」 – Quake1TF