php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30003 FTP: Nonexistant Year Handler
Submitted: 2004-09-06 21:42 UTC Modified: 2004-12-12 16:17 UTC
From: djneoform at gmail dot com Assigned:
Status: Not a bug Package: FTP related
PHP Version: 4.3.8 OS: Linux
Private report: No CVE-ID: None
 [2004-09-06 21:42 UTC] djneoform at gmail dot com
Description:
------------
When looking at ftp_rawlist() for each file there's a date, and time, but the date has no year..

I would use ftp_mdtm(), but it works on about 10% of the files I check..  

Reproduce code:
---------------
$contents = ftp_rawlist($conn_id,$directory);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-07 17:05 UTC] djneoform at gmail dot com
After looking into it more, ftp_mdtm() doesn't work unless you just used ftp_chdir() i don't believe it's supposed to work that way.
 [2004-12-12 16:17 UTC] sniper@php.net
There is no standard for how the output of LIST is shown so it  is likely to be different on different FTP servers..

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC