2
我想通過捲曲在我自己的雲服務器上的特定文件夾中上傳文件。例如:http://www.myowncloudserver.com/remote.php/webdav/{MY_FOLDER}
。目前我無法將文件上傳到我的雲服務器上的文件夾。有任何想法嗎?Owncloud將文件上傳到特定文件夾 - 捲曲
我想通過捲曲在我自己的雲服務器上的特定文件夾中上傳文件。例如:http://www.myowncloudserver.com/remote.php/webdav/{MY_FOLDER}
。目前我無法將文件上傳到我的雲服務器上的文件夾。有任何想法嗎?Owncloud將文件上傳到特定文件夾 - 捲曲
$ curl --user username:password -X PUT "https://www.myowncloudserver.com/remote.php/webdav/MY_FOLDER" --data-binary @"file.txt"
我改變了一點,但這個作品,謝謝! –
您需要將文件名添加到目標網址「https:// www.myowncloudserver.com/remote.php/webdav/MY_FOLDER/file.txt」 – Quake1TF