Download a File for COREFTP using Command line and WILDCARDs

Core FTP client questions and answers
Post Reply
SHANCHAT972
Posts: 1
Joined: Fri Dec 04, 2015 8:13 pm

Download a File for COREFTP using Command line and WILDCARDs

Post by SHANCHAT972 »

Hi,

I want to download a file on COREFTP using the command line and I am trying to use the following command and it works perfectly fine when I use the Wildcards * or ?.

How can I use [b]specific WILDCARDS as [0-9] or [00-31] or [0-1]{2}[/b] ?
See below what I am trying to do (File with a Date appended mmddyyyy format)

[u]This command [b]does not work[/b][/u].
C:\Program Files\CoreFTP>coreftp.exe -delsrc -nocase -s -O -site DailyFTPProfile -d /FileLocationOnFTP/Daily_[01-12][01-31][19-20][0-9][0-9].txt -p C:\DOWNLOADS\ -FN Daily.txt -log C:\LOGS\Log.txt -output C:\OUTPUT\output.txt -exit


[u]This command [b]works[/b]:[/u]
C:\Program Files\CoreFTP>coreftp.exe -delsrc -nocase -s -O -site DailyFTPProfile -d /FileLocationOnFTP/Daily_????????.txt -p C:\DOWNLOADS\ -FN Daily.txt -log C:\LOGS\Log.txt -output C:\OUTPUT\output.txt -exit


Thanks in advance.
Post Reply