[PHP] ftp_nlist problem

2006-01-13 Thread Giulio
I have a script using some ftp functions that runs just fine on various server I have tested. Now that I've installed it om a customer's server, it ( obviously ) stopped working. claning the script to isolate the problem, I've discovered that the problem is on the ftp_nlist command that

Re: [PHP] ftp_nlist problem

2006-01-13 Thread Andrew Brampton
PROTECTED] To: php-general@lists.php.net Sent: Friday, January 13, 2006 3:43 PM Subject: [PHP] ftp_nlist problem I have a script using some ftp functions that runs just fine on various server I have tested. Now that I've installed it om a customer's server, it ( obviously ) stopped working

[PHP] ftp_nlist dont work for me :(

2005-08-29 Thread Erik Gyepes
Hi folks! I have compiled PHP 5.0.4 at my Slackware machine at home, I have the FTP support enable and I trying connect to the FTP with this little scritp: ?php $connect = ftp_connect(ftp.slackware.at) or die(Couldn't connect to ftp server); $login = ftp_login($connect,anonymous,[EMAIL

Re: [PHP] ftp_nlist()

2004-09-13 Thread zareef ahmed
Hi, --- Jason Wong [EMAIL PROTECTED] wrote: Not sure why you would want to chdir first. Why not just: ftp_chdir is usefull on windows specially if directory name has a space in it. zareef ahmed = Zareef Ahmed :: A PHP Developer in Delhi ( India ). Homepage ::

Re: [PHP] ftp_nlist()

2004-09-13 Thread Curt Zirzow
* Thus wrote Karol Krizka: Hello, I have the following class for ftp: -- class FTP { function get_files($dir=/) { ftp_chdir($this-connection,$dir); $array=ftp_nlist($this-connection,ftp_pwd($this-connection)); var_dump($array); } } When I connect to

Re: [PHP] ftp_nlist()

2004-09-12 Thread Jason Wong
On Sunday 12 September 2004 10:08, Karol Krizka wrote: function get_files($dir=/) { ftp_chdir($this-connection,$dir); $array=ftp_nlist($this-connection,ftp_pwd($this-connection)); var_dump($array); } When I connect to ftp server for my website at

[PHP] ftp_nlist()

2004-09-11 Thread Karol Krizka
Hello, I have the following class for ftp: -- class FTP { var $host; var $port; var $username; var $password; var $connection; function FTP($host=localhost,$port=21,$user=anonymous,$password=) { $this-host=$host; $this-port=$port; $this-username=$user;

[PHP] ftp_nlist not listing directories

2001-05-17 Thread Fredrik de Vibe
Hi I'm having problems using ftp_nlist() to list directories. I've scanned the internet and found that there's probably some incompability with the version of wu-ftp used on the server and ftp_nlist(). With version 2.6.1, this doesn't work, but with version 2.5.0 it does. Anybody know why this