I am getting files from FTP as follows:
Code: Select all
$homepage = file_get_contents('ftp://usr:email@example.com:111/a/b/test-wins_6-40-1010.txt');
I wonder if there is a way to get the files according to the creation date or modification date?
or if it is NOT possible, can I somehow get the file name and get the 6-40-1010 portion as follows?