curl-users
Re: ftp rename
Date: Thu, 15 Nov 2001 09:56:24 +0000
Actually the example that I gave works. I was trying it with an older curl.
The source that I download and compile (7.9.1) works fine.
Sorry to waste the bandwidth.
Cheers,
Huy
>From: Daniel Stenberg <daniel_at_haxx.se>
>Reply-To: curl_at_contactor.se
>To: Curl Mailinglist <curl_at_contactor.se>
>Subject: Re: ftp rename
>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/
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Received on 2001-11-15