I am trying to get the latest file from an ftp site that
matches a pattern and is the latest one.
The file name format is: foobar_5279_09-03-2008.log.gz
I really need help with two things: 1) regular expression for file name pattern matching 2) logic to get the most recent file.
Thanks much...
matches a pattern and is the latest one.
The file name format is: foobar_5279_09-03-2008.log.gz
I really need help with two things: 1) regular expression for file name pattern matching 2) logic to get the most recent file.
Thanks much...