cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

Re: CURLOPT_FTP_FILEMETHOD from php?

From: Alan Pinstein <apinstein_at_showcasere.com>
Date: Wed, 22 Nov 2006 10:21:46 -0600

>> However, the php-curl integration doesn't define this option.
>
> Then patch it or possibly try a more recent version that has it!

Well, patching is more of a last resort... I was hoping for some help
on understanding why:

curl_setopt($ch, 138 /* CURLOPT_FTP_FILEMETHOD */, 3 /
CURLFTPMETHOD_SINGLECWD */);

doesn't work...

I would imagine curl_setopt passes through the parameters to
curl_easy_setopt... but it doesn't work.

If the *only* solution is patching, I'll probably do that or just
switch to the direct ftp_* calls.

Thanks,
Alan
_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2006-11-22