Hi,
Apologies if this post is in the wrong forum.
I am trying to ftp get [file_ddmmyyyy.csv] of a Linux ftp server based on the file date prefix. There will be many files in the ftp directory with the same file name but the date prefix will be different.
For example:
file_31012015.csv
file_28022015.csv
file_31032015.csv
file_30042015.csv
In this example I need to get file_30042015.csv
Is it possible to derive the file based on the most recent one without specifying the full file name or is there a way to use last day of last month function?