Closed defrag-bambino closed 8 months ago
I don't have next cloud available but I'm looking at their discourse and someone is showing curl -T
. What you're using is the equivalent of curl -F
.
https://help.nextcloud.com/t/upload-file-to-shared-folder-using-wget/74752/4 makes me think multipart form-data isn't what you want
Hi, I am using the following code to upload a large file to my nextcloud:
It does work, but the headers also end up as part of the file. Here is a text file example:
Changing to a POST request does not work, as the nextcloud server responds with a "Method not allowed" error.
How can I transmit the file without having the headers end up in it? Thanks