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
Tag: libcurl
Curl request is failing on the SSL?
I have this code if(ereg(“^(https)”,$url)) curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,false); // execute, and log the result to curl_put.log $result = curl_exec($curl); $error =…
Sending POST Requests without waiting for response?
I am writing a simple REST service, which responds to requests from clients. All in PHP. My concern is, that when my server responds to a request, it could end up tying up resources if the client …