I need to get latest file that start with filename zions.s2550nai.* by using SFTP
So from above list I need to get only zions.s2550nai.jan1419 (MONDDYY format)
Do it in two steps. First connection, just issue 'ls -ltr' and save the output to a file. Second examine the file and create an sftp script to retrieve the one required file
Sorry for the typos. On my phone.
You seem to imply that the filetime (Last time the file was written) kept by UNIX is not what you want, but the "date" kept in the filename? Is that correct?