ID: 25296 User updated by: ates at isikun dot edu dot tr Reported By: ates at isikun dot edu dot tr -Status: Feedback +Status: Open Bug Type: FTP related Operating System: win xp -PHP Version: 4.3.3 +PHP Version: 4.3.4-dev New Comment:
same problem continues look at url = http://webgroup.isikun.edu.tr/arge/ftp/ftp_connect.php Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2003-08-28 09:53:16] ates at isikun dot edu dot tr Description: ------------ when i use $array=ftp_nlist(exact file name) // for example ftp_nlist(/http/fopen.php) it returns /http/fopen.php/fopen.php as 1st element of array so it must return /http/fopen.php .. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25296&edit=1
