curl-and-php
where does CURLOPT_QUOTE output go?
Date: Fri, 14 Aug 2009 13:34:03 -0400
just 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"));
etc.
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!
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2009-08-14