This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
Hi I’m trying to PUT a pdf to my file server and it seems to arrive as a
html document instead of a pdf. I don’t mean with the extension .html
but containing html in it. Obviously POST isn’t useful because it’s a
new file. Thanks in Advance
Edit: Uploading files A file can be uploaded by sending a PUT request to
the file and sending the raw file contents as the request body. PUT
remote.php/dav/files/user/path/to/file