I want to upload large files to ownCloud with WebDAV API. I use this code to do this: But when connection lost, this script cannot resume uploading file. Is it possible to resume file upload with WebDAV? Thanks Answer Use the CURLOPT_RESUME_FROM_LARGE option. Either set it to a position to start the resume from. Or use the -1 to make