Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

Running ftp_rawlist on windows XP or 2003

General discussions related to php

Moderators: macek, egami, gesf

Running ftp_rawlist on windows XP or 2003

Postby bobo » Sun Aug 17, 2003 2:43 am

I'm currently having the problem of running the php ftp_rawlist or ftp_nlist on windows xp and 2003.

The script as follow:
$filelist = ftp_rawlist($conn, "directory");
foreach ($filelist as $each){
print "\t".$each."";
}
the ftp_rawlist function return nothing!!

But when I run the script on windows 2000 it work prefectly.. with no errors......

I am wondering is it the configuration problem?? How can I solve it??

:roll: :(

Thx.
bobo
New php-forum User
New php-forum User
 
Posts: 12
Joined: Mon Jul 21, 2003 1:09 am

Postby swirlee » Sun Aug 17, 2003 2:56 am

According to the comments on the ftp_rawlist() page in the documentation, this function was broken in the Windows builds of PHP 4.1.2 up through PHP 4.3 when it was fixed. So if you're running a version of PHP >= 4.1.2 and < 4.3, you're out of luck.
User avatar
swirlee
Moderator
Moderator
 
Posts: 2272
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back


Return to PHP General

Who is online

Users browsing this forum: No registered users and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron