ID: 25296 User updated by: ates at isikun dot edu dot tr Reported By: ates at isikun dot edu dot tr Status: Bogus Bug Type: FTP related Operating System: win xp PHP Version: 4.3.4-dev New Comment:
there is nothing about permissions, rawlist returns "tosun.txt" but nlist return "tosun.txt/tosun.txt " if you nlist to files name it returns wrong think.. Previous Comments: ------------------------------------------------------------------------ [2003-09-01 21:51:55] [EMAIL PROTECTED] See bug #25347 ------------------------------------------------------------------------ [2003-09-01 06:42:23] ates at isikun dot edu dot tr same problem continues look at url = http://webgroup.isikun.edu.tr/arge/ftp/ftp_connect.php ------------------------------------------------------------------------ [2003-08-31 16:09:38] [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 ------------------------------------------------------------------------ [2003-08-28 10:44:41] ates at isikun dot edu dot tr look at url = http://webgroup.isikun.edu.tr/arge/ftp/ftp_connect.php and the basic code to show you the error : (file is /tosun.txt) //here code starts $ftp_server2 = "webgroup.isikun.edu.tr"; $ftp_user_name = "ates"; $ftp_user_pass = "*****"; $conn = ftp_connect($ftp_server2,5000); ftp_login($conn, $ftp_user_name, $ftp_user_pass); $nlist = (ftp_nlist($conn, "/tosun.txt")); $rawlist = ftp_rawlist($conn, "/tosun.txt"); echo "nlist=>"; print_r($nlist); echo "<br>rawlist=>"; print_r($rawlist); ftp_close($conn); ------------------------------------------------------------------------ [2003-08-28 10:06:58] [EMAIL PROTECTED] Cannot reproduce. Based on the description you provided I get the results which are expected from the documentation of ftp_nlist(). Please provide a simple and COMPLETE script which reproduces this error. Obviously nooone expects you to give out a password to your own server, but you could try to reproduce this on a public ftp server. ------------------------------------------------------------------------ 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/25296 -- Edit this bug report at http://bugs.php.net/?id=25296&edit=1
