Using Wildcards with Scheduler

Core FTP client questions and answers
Locked
hamshack
Posts: 3
Joined: Tue Nov 12, 2013 10:08 pm

Using Wildcards with Scheduler

Post by hamshack »

I have searched this forum for topics about wildcards and I am surprised there is no discussion about them. I normally use a Linux program for automated downloads but it does not have the ability to connect to a secure ftp. But it has lot's of wildcards available to use. I need to download the file for the current date from an ftp server for radio station programming. The files are dated like this:

AG_11-12-13_tue.mp3
AG_11-13-13_wed.mp3
AG_11-14-13_thu.mp3

The Linux wildcards would be like this to download todays file:

AG_%m-%d-%y_%a.mp3

I have tried using these but they don't seem to work in Coreftp. The only wildcard I have seen is the * and if I use *.mp3 it will download all the files on the server and that does not help me.

I can't find a list of wildcards on this forum or on the Corftp site to use.
Am I missing something? Or is Coreftp limited in it's ability. Do I need to look at using a different client?
cp
Posts: 124
Joined: Sun Sep 11, 2011 5:18 am

Post by cp »

In the section where you set the wildcard, check the "Use Core FTP filename formatting"

Then you can use filenames similar to *nix:


AG_%m-%d-%Y_%a.mp3


%Y - year
%m - month
%d - day

%H%M%S - hour/minute/second

a% abbreviated day.

%% for percent sign.

msdn.microsoft.com/en-us/library/fe06s4ak(v=vs.60).aspx
Locked