curl-users
Download Files with Date
Date: Thu, 25 Nov 2010 18:43:14 +0300
Hi.I'm trying to setup a DOS batch that would download multiple files every few days using curl (from ftp site).These files have the following name structure:abc_20101122062015_def.rar
The part of the file name that change is the date-time.
I have tried to use wildcards instead of numbers, doing:20 [10-20] (year)[01-12] (month)[01-31] (day).....So my final file name was:abc_20 [01-90] [01-12] [01-31] [00-24] [00-60] [00-60] _def.rar
It did not work ..Any suggestion?
MichelePS: I know that I could write a script in Perl or some other languages to get the file names and pass them to curl, but I am not a programmer.
-------------------------------------------------------------------
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-11-25