cURL / Mailing Lists / curl-users / Single Mail


Multiple File or Random File Name FTPS Get Syntax

From: <>
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://[.]*.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:
Received on 2010-12-16