Running ftp_rawlist on windows XP or 2003

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 12
Joined: Mon Jul 21, 2003 1:09 am

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: :(


User avatar
Posts: 2257
Joined: Sat Jul 05, 2003 1:18 pm
Location: A bunk in the back

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.

Post Reply