Re: [PHP] scandir and ftp wrapper

2007-04-13 Thread John Ewing
I can think of only one reason why your test might be invalid: If you have already logged in to the FTP server from the browser, and the user:pass in the URL aren't the ones actually authenticating you, but the ones saved in the browser are the ones that let you in, you'd get the behaviour you ha

Re: [PHP] scandir and ftp wrapper

2007-04-12 Thread Richard Lynch
On Thu, April 12, 2007 9:07 am, John Ewing wrote: > Still can't get it to work, seems to be a problem generally with the > ftp > wrapper. > > If I try something really basic like > > echo file_get_contents('ftp://user:[EMAIL PROTECTED]/file.txt'); > > I get an empty string with no error messages. >

Re: [PHP] scandir and ftp wrapper

2007-04-12 Thread John Ewing
Still can't get it to work, seems to be a problem generally with the ftp wrapper. If I try something really basic like echo file_get_contents('ftp://user:[EMAIL PROTECTED]/file.txt'); I get an empty string with no error messages. If I copy and paste the ftp url string into firefox it displays t

[PHP] scandir and ftp wrapper

2007-04-02 Thread j
Hi I have a question about scandir I have been trying to track down problems after upgrading from 5.1.6 to 5.2.1. I have been getting errors with a section of code that does something similar to the following $fileList=scandir("ftp://user:[EMAIL PROTECTED]/"); I get the following error. Warni