curl-library
Re: Issues uploading file to NextCloud server
From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 10 Aug 2018 00:22:24 +0200 (CEST)
Date: Fri, 10 Aug 2018 00:22:24 +0200 (CEST)
On Mon, 6 Aug 2018, Andy Pont wrote:
> The debug output on the console when I run the script manually returns with
> "HTTP/1.1 400 Bad Request”. The logging in the Nextcloud instance shows the
> request being submitted but fails with the error “BadRequest: expected file
> size XXXXX got 0”.
>
> I can’t work out where to go next to determine whether this is a
> configuration issue with Nextcloud or me being dumb in the request I am
> sending.
Are you supposed to be able to PUT to that location?
-- / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-08-10