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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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-2022 The PHP Group
All rights reserved.
Last updated: Sun Jan 23 13:03:35 2022 UTC