Login   Register  
PHP Classes
elePHPant
Icontem

Two bugfixes

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Advanced FTP client class  >  All threads  >  Two bugfixes  >  (Un) Subscribe thread alerts  
Subject:Two bugfixes
Summary:minor,major
Messages:1
Author:Dominic
Date:2009-01-09 15:07:27
 

  1. Two bugfixes   Reply  
Picture of Dominic
Dominic
2009-01-09 15:07:27
1. What happens if you have error reporting to all & notice, then download ftp://ftp.kde.org/pub/kde/README

Answer
Notice: Undefined index: extension

Solution
Check if variable is initialized in ftp_class.php on lines 432 and 470

[..] and isset($pi["extension"]) and in_array( [..]


2. What happens if you login as anonymous and try file_exists()

Possible answer
550 Permission denied

Solution
Try both RNFR and SIZE commands, should cover 99% of situations