PHP Classes

is_file and file_exists

Recommend this page to a friend!

      Amazon S3 Stream Wrapper  >  All threads  >  is_file and file_exists  >  (Un) Subscribe thread alerts  
Subject:is_file and file_exists
Summary:struggling with is_file and filefunctions and the stream wrapper
Messages:2
Author:Jeff Arthur
Date:2007-10-15 22:19:49
Update:2007-10-16 04:06:04
 

  1. is_file and file_exists   Reply   Report abuse  
Picture of Jeff Arthur Jeff Arthur - 2007-10-15 22:19:49
Hi again,

Firstly many thanks for you quick reply and patch for my first problem.

The functions eventually execute, and return false, but it looks like the S3 call is taking forever and effectively timing out.

Not sure how appropriate these functions are in an s3 context anyway, but I am sure that others will try to use them as well.

The documentation here http://uk3.php.net/manual/en/wrappers.php, seems to imply that a fully implemented stream wrapper would support this, but I wouldn't have a clue where to start.

Thanks
Jeffa

  2. Re: is_file and file_exists   Reply   Report abuse  
Picture of Cesar D. Rodas Cesar D. Rodas - 2007-10-16 04:06:04 - In reply to message 1 from Jeff Arthur
Hi again,

You're welcome, thanks to you for report that bug.

As a far I know, please correct me if I am wrong, implement is_file and file_exists is so easy because with Amazon S3 you cannot have folders, only buckets and inside buckets files.

I tell you again please correct me if I a wrong.

When I have the answer I will code that part, I think I need to download something that I'm missing on the "stat".

Best Regards