curl-users
Getting -Q to work
From: Mike Brown <brown_at_mrvideo.vidiot.com>
Date: Sun, 12 May 2013 22:53:39 -0500
Date: Sun, 12 May 2013 22:53:39 -0500
I'm trying to delete some files on a ftps server and keep getting the ftp 500
error return code.
If I do the following, the root directory is listed just fine, along with the
names of the files I want to delete:
curl -k -u username:password ftps://domain.com/
If I then do the following, it errors out:
curl -k -u username:password ftps://domain.com/ -Q rm file.name.zip
or
curl -k -u username:password ftps://domain.com/ -Q "rm file.name.zip"
Once I get that to work, I'm assuming I can delete subdirectory files by
doing the following:
curl -k -u username:password ftps://domain.com/ -Q cd subdir -Q rm file.name.zip
Thanks for any tips on getting this to work.
MB
--
e-mail: vidiot_at_vidiot.com | vidiot_at_vidiot.net /~\ The ASCII
6082066843_at_email.uscc.net (140 char limit) \ / Ribbon Campaign
Visit - URL: http://vidiot.com/ X Against
http://vidiot.net/ / \ HTML Email
"Take your hand off your tool, Marco!" - Det. Beckett - Castle - 10/08/12
-------------------------------------------------------------------
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 2013-05-13