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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
41 + 28 = ?
Subscribe to this entry?

 
 [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: Sat May 21 02:03:37 2022 UTC