where does CURLOPT_QUOTE output go?
am 13.08.2009 15:58:33 von Tom Worsterjust for example's sake, say i were doing something like
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, 'ftp://user:pass@server/dir/filename');
curl_setopt($ch, CURLOPT_UPLOAD, true);
curl_setopt($ch, CURLOPT_FILE, $outfileh);
curl_setopt($ch, CURLOPT_INFILE, $infileh);
curl_setopt($ch, CURLOPT_STDERR, $stderrh);
curl_setopt($ch, CURLOPT_POSTQUOTE, array("STAT","FEAT"));
to upload a file via ftp. (assume my file handles are all set up correctly.)
where do the replies from the FTP server to the STAT and FEAT commands end
up? not in $outfile, i've confirmed.
the only thing i've come up with is to set verbose and parse stderr. ick!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php