cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: ftp rename

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 15 Nov 2001 10:06:43 +0100 (MET)

On Thu, 15 Nov 2001, Huy Nguyen wrote:

> How do I use the curl command to rename a file on an ftp server? I need
> to use the quote command but ftp rename requires 2 separate commands.
> How do I do that?
>
> curl -Q "RNFR fromfile" -Q "RNTO tofile" ftp://server
>
> I try the above command but it doesn't work.

What doesn't work? Can you show us a -v trace too?

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2001-11-15