I have been FTPing using PHP on two other Windows servers, but when I moved to DiscountASP, the "ftp_nlist" command returns nothing. Any ideas why?
I did some research, it looks like ftp_nlist command has a lot of bugs when running on Windows. We will be upgrading to PHP 5 within the next couple week. I think PHP5 has this problem fixed. Bruce DiscountASP.NET www.DiscountASP.NET
i still cant get ftp_nlist or ftp_rawlist to work after the update i found this link http://bugs.php.net/bug.php?id=16057. [12 Feb 2004 4:57pm UTC] [email protected] As already stated in other duplicates of this bug report. ftp_(n)list requires write permissions to the system's tempoarary directory. IIS's default installation does not include this in the permissions for IUSR. The bug is in system configuration, not PHP.this post seems to answer the problem, how to i change the IUSR premissions i have anonymous in the premissions manager set on allow on both write and read.when i try to use ftp_nlist php spits out this errorWarning: ftp_nlist() [function.ftp-nlist]: Unable to create temporary file. Check permissions in temporary files directory.Any ideas for a fix?
u happen to konw where is the temporary directory. i can check to see permission is adequate. Bruce DiscountASP.NET www.DiscountASP.NET