ID: 25347 Updated by: [EMAIL PROTECTED] Reported By: spam at come dot no-ip dot com Status: Bogus Bug Type: FTP related Operating System: Windows XP Pro PHP Version: 4.3.3 New Comment:
You need to give it write permissions to TEMP directory. Whatever it is in your system.. Previous Comments: ------------------------------------------------------------------------ [2003-09-01 22:24:53] spam at come dot no-ip dot com yes, probably the problem is permissions...but I've tryed add to my user read/write permissions to temp folder and sessions (the ones that set in php.ini) still no luck. I was following installation guide from apache package, that describes what folders needs to be set the permissions, also set php installation folder to be full control for my apache user, same thing. I'm running out of ideas on what else permission I could set up... P.S. I'm trying not to use any system folders neither for temp files nor for .ini settings, that makes less painless reinstalling system or upgrading software. I even tryed give full control and changed ownership to apache user on all folders that have any relationship to the apache+php. ------------------------------------------------------------------------ [2003-09-01 21:17:07] [EMAIL PROTECTED] ftp_nlist and ftp_rawlist require the ability to create a temporary file. The user you are running as does not have write premission to your TEMP directory. This is not a bug in ext/ftp, this is a configuration issue. Make sure whoever you're running Apache as has read/write/erase permissions in your system's temp directory. ------------------------------------------------------------------------ [2003-09-01 19:46:52] spam at come dot no-ip dot com Nop, same thing. as I mentioned above, if u installed Apache2 as a service, it will work properly untill u asighn it to start as different user (not as SYSTEM and not from ADMINISTRATORS group) ------------------------------------------------------------------------ [2003-09-01 18:52:28] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Works just fine for me (under Apache2, running as service under XP) ------------------------------------------------------------------------ [2003-09-01 18:08:08] spam at come dot no-ip dot com yes, I'm sure that its connecting, because in the script above I used public ftp server just that others could check it out, but I checked in on my local ftp server and I could check its logs as well. in my php.ini error logs set to show ALL (display and in log file) nothing showing in apache logs either. I ment it shows "nothing" that it doesnt show anything from the ftp_rawlist() result ;) P.S. here is what I get in my BulletProofFTP v2.21: ************************************************** (000015) 9/1/2003 6:07:27 PM - (not logged in) (192.168.1.3) > connected to ip : 192.168.1.3, hostname : server (000015) 9/1/2003 6:07:27 PM - (not logged in) (192.168.1.3) > sending welcome message. (000015) 9/1/2003 6:07:27 PM - (not logged in) (192.168.1.3) > 220 [EMAIL PROTECTED] (000015) 9/1/2003 6:07:27 PM - (not logged in) (192.168.1.3) > USER vano (000015) 9/1/2003 6:07:27 PM - (not logged in) (192.168.1.3) > 331 Password required for vano. (000015) 9/1/2003 6:07:27 PM - (not logged in) (192.168.1.3) > PASS **** (000015) 9/1/2003 6:07:27 PM - vano (192.168.1.3) > logged in. (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > 230 User vano logged in. (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > CWD / (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > asked to change directory : 'F:\ -> F:\' --> Access allowed. (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > 250 CWD command successful. "/" is current directory. (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > QUIT (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > 221 Bye bye ... (000015) 9/1/2003 6:07:29 PM - vano (192.168.1.3) > disconnected. (00:00:01) ****************************************** all this is what ftp_login() function sends, and no requests where received from ftp_rawlist() nor ftp_nlist() functions. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/25347 -- Edit this bug report at http://bugs.php.net/?id=25347&edit=1