jeudi 5 novembre 2015

PHP open and show most recent file from an folder via FTP

I would like to connect to a FTP Server via PHP and take the most recent file from a certain directory and show it in that PHP file.

So I can go to and see what's in that file. These files have the following name "Filename_20150721-085620_138.csv", so the second values 20150721 is the date. Also these files only contain CSV Text.

Is there any way in doing that?

Aucun commentaire:

Enregistrer un commentaire