cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Problems deleting files from FTP site in Windows

From: Ralph Mitchell <ralphmitchell_at_gmail.com>
Date: Mon, 15 Feb 2010 15:53:04 -0500

On Mon, Feb 15, 2010 at 11:54 AM, Carolyn Wales <cswales_at_gmail.com> wrote:

> I'm trying to use the command line curl to delete a file from an FTP
> site. It works fine under Linux, but under Windows I get the
> following error:
>
> C:\bin>curl ftp://medeagames.com -u uname:pwd --quote 'DELE wordsnew.txt'
> curl: (21) QUOT command failed with 500
> curl: (6) Could not resolve host: wordsnew.txt'; Host not found
>
> Any help here (besides of course 'don't use Windows...")?
>

It looks like Winders isn't recognising single quotes as delimiting a
character string. Did you try double-quotes yet??

Ralph Mitchell

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-02-15