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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: djneoform at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 06 15:01:35 2025 UTC