How can I send the filename to an apache server if I'm using curl with
curl_setopt($ch, CURLOPT_PUT, 1);
One solution was to send the filename using the URL. - there are several problem with this - the biggest problem is the url can be invalid containing white spaces for example so I can't validate in anyway the filename