cURL / Mailing Lists / curl-users / Single Mail

curl-users

Multiple File or Random File Name FTPS Get Syntax

From: <prayes_at_gmail.com>
Date: Thu, 16 Dec 2010 08:43:02 +0100

Need help phrasing the appropriate curl statement (particularly the regex)
to get/retrieve multiple/any file name of extension .zip from the FTPS
server followed by deleting multiple/any file name of extension .zip no the
FTPS server:

Get Command:
curl --ftp-ssl --insecure --user UserName:Password ftps://
someftpserver.com/[.]*.zip

Delete Command:
.... please help (same as above but to delete)

Also, since I am coding this into a .bat file in Windows, please provide an
example of how to capture the exit codes and display them.

Thank you.

-------------------------------------------------------------------
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-12-16