where does CURLOPT_QUOTE output go?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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"));

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux