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

curl-and-php

Re: Moving files on an FTP server via libcurl

From: Vipin hegde <vipinhegde_at_gmail.com>
Date: Fri, 29 Jun 2007 15:09:02 -0700

Found the problem. As Daniel pointed out, I was using the wrong syntax. The
right syntax is:

curl_setopt($cobj, CURLOPT_POSTQUOTE, array("RNFR /foldername/$filename",
"RNTO /foldername/subfoldername/$filename"));

Regards,
Vipin

On 6/29/07, Daniel Stenberg <daniel_at_haxx.se> wrote:
>
> On Fri, 29 Jun 2007, Vipin hegde wrote:
>
> > Here's the protocol trace where, as i mentioned in my last email, i see
> the
> > "Curl_xxx_rcvs returned -1, block = TRUE"
>
> Did you mention what libcurl version this is?
>
> Did you mention if libcurl returns an error on this transfer, and if so
> which?
>
> --
> Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>

-- 
Regards,
Vipin

_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
Received on 2007-06-30