Re: ftp_nlist date - time
| From: | Jim Lucas | Date: | Sat, 15 Feb 2014 00:39:43 +0000 |
| Subject: | Re: ftp_nlist date - time | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322882@lists.php.net to get a copy of this message | ||
On 02/14/2014 08:05 AM, Ron Piggott wrote:
At present the output from ftp_nlist resembles:Under the description of usage here: http://www.php.net/manual/en/function.ftp-nlist.php it states that you can pass the second argument of ftp_nlist a string that will be passed to what essentially looks like a call to ls. So, something like this should get you what you are looking for. $arr = ftp_nlist($connection, ' -l --full-time'); -- Jim Lucas http://www.cmsws.com/ http://www.cmsws.com/examples/-rw-r--r-- 1 root root 2511 Feb 14 01:45 file.phpIs it possible to include a full date-time like the Linux command “ls -l --full-time” -rwxr-xr-x 1 root root 436 2013-10-08 17:29:25.000000000 -0400 file.php Or is there another way to approach this would give me this result? Ron Ron Piggott www.TheVerseOfTheDay.info