curl-and-php
Re: Moving files on an FTP server via libcurl
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 Jun 2007 08:41:43 +0200 (CEST)
Date: Thu, 28 Jun 2007 08:41:43 +0200 (CEST)
On Wed, 27 Jun 2007, Vipin hegde wrote:
> curl_setopt($cobj, CUROPT_POSTQUOTE, array("RNFR $filename RNTO
> old_datafiles/$filename"));
RNFR and RNTO are two _separate_ commands and they need to be issed one by
one, not both tacked together in the same line.
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.html _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2007-06-28