dates in file names

Core FTP client questions and answers
Post Reply
ray.rigo@ahsys.org
Posts: 8
Joined: Thu Jun 30, 2005 6:00 pm

dates in file names

Post by ray.rigo@ahsys.org »

I have a need to schedule ftp's to run automatically using the scheduler however the files I need to transfer have dates in the name.

i.e. ABC20050701.TXT (20050701 is the date the file is created)

How do I specify a file name that will change every day in a scheduled ftp?
jeffd
Posts: 113
Joined: Thu May 06, 2004 6:12 am

Post by jeffd »

http://www.coreftp.com/docs/web1/Schedu ... nsfers.htm

There's a section near the bottom of this page that shows how to setup wildcards. Something along the lines of ABC*.TXT....
ray.rigo@ahsys.org
Posts: 8
Joined: Thu Jun 30, 2005 6:00 pm

one problem with wild cards

Post by ray.rigo@ahsys.org »

If the list of files in the directory was:

ABC20050601.TXT
ABC20050602.TXT
ABC20050603.TXT
etc....

And I used the wildcard ABC*.TXT then it would send ALL the files that start with ABC and end in TXT. I only want to send that days file.

I would like to be able to specify something like ABC'todays date'.TXT
ray.rigo@ahsys.org
Posts: 8
Joined: Thu Jun 30, 2005 6:00 pm

Post by ray.rigo@ahsys.org »

Thank you I will look into trying that. I could move it to a sent folder under the where the source file gets put. Good idea.
Post Reply