cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: The client FTP fails to change to the lowest subdirectory when uploading file.

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Sat, 28 Oct 2006 13:12:03 -0700

On Sat, Oct 28, 2006 at 07:43:25PM +0200, Nageeb Khoury wrote:
> Traces show that the CURL switches to the lowest directory by doing a mulitple
> change directory (CDW ) for each part in the path (directories in between) and
> not in one step to entire path. Filezilla client succeeds to switch without
> problem.

This problem has come up before, and technically, the URL is invalid because
of the server configuration. curl retrieves FTP URLs in the
RFC-proscribed manner, which the server doesn't allow.

Recent versions of curl support the --ftp-method option, which allows curl
to ignore the RFC and bypass this problem.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2006-10-28