cURL / Mailing Lists / curl-users / Single Mail

curl-users

Problems deleting files from FTP site in Windows

From: Carolyn Wales <cswales_at_gmail.com>
Date: Mon, 15 Feb 2010 08:54:55 -0800

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...")?

--CSW
-------------------------------------------------------------------
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