I am getting files from FTP as follows:
Code: Select all
$homepage = file_get_contents('ftp://usr:firstname.lastname@example.org: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?