cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-users Mailing List Archives

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

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET