FTP - How to get the contents of a file according to date?

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 9
Joined: Mon Jan 17, 2011 10:19 am

Tue Jun 04, 2013 4:23 am


I am getting files from FTP as follows:

Code: Select all

$homepage = file_get_contents('ftp://usr:pass@');
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?

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Baidu [Spider] and 4 guests