cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: How to download and rename/delete a file from a remote SSL ftp server by curl?

From: Liang Cai <lcai_at_primustel.ca>
Date: Thu, 13 Jan 2005 22:35:35 +0000 (UTC)

Daniel Stenberg <daniel-curl <at> haxx.se> writes:

>
> On Thu, 13 Jan 2005, Liang Cai wrote:
>
> > curl: (21) QUOT string not accepted: RNFR CC050111_ack.txt
> >
> > Can you please advise?
>
> Use -v or --trace-ascii to follow what curl did more closely, as that makes
it
> a lot easier to spot the problem.
>
> RNFR followed by RNTO is the RFC959 defined way to rename files with FTP.
>

Here is the part of text related (after using -v):

> RNFR CC050111_ack.txt
< 550 Requested action not taken, file not found or no access.
* QUOT string not accepted: RNFR CC050111_ack.txt
* Connection #0 to host ftp.e-xact.com left intact
curl: (21) QUOT string not accepted: RNFR CC050111_ack.txt
> QUIT

As I said, file downloaded successfully, so "file not found" doesn't make
sense. "no access"???
Received on 2005-01-13