where does CURLOPT_QUOTE output go?

Tom Worster <[email protected]>
Newsgroups gmane.comp.web.curl.php
Message-ID <C6AB184B.10C3A%[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.