Link to home
Start Free TrialLog in
Avatar of cbest846
cbest846Flag for United States of America

asked on

using ftp commands

How can I use the get command to retrieve a file with the latest date?  there multiple files that look like this  with a date as part of the file:   HQ_FILENAME_03312010.    
Avatar of cbest846
cbest846
Flag of United States of America image

ASKER

In my question, I forgot to add this information.  I am ftp'ing from a windows server 2008 to an ftp server.
thanks.
ASKER CERTIFIED SOLUTION
Avatar of Steve Knight
Steve Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
the files are sent to the ftp server by the client every day. each file has this format that contains the date it was sent --   filename example,  HQ_FILENAME_03312010.    (file ends with period) sent on 3/12/2010.   the script should run every day and pull down today's date file and copy it to same name with extension .zip.  Once in the windows directory, it would be unzipped and processed
Thank you
I missed your response back for some reason, sorry - wasn't ignorng the Q.  Thanks for selecting my answer but if you need any more help just click on "ask a related Q" and we can carry on.

Steve