|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: djneoform at gmail dot com
New email:
PHP Version: OS:


 [2004-09-06 21:42 UTC] djneoform at gmail dot com
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);


Add a Patch

Pull Requests

Add a Pull Request


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]
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-2022 The PHP Group
All rights reserved.
Last updated: Sat May 21 03:05:45 2022 UTC