note 95371 added to function.ftp-nlist

From: Date: Tue, 29 Dec 2009 17:39:52 +0000
Subject: note 95371 added to function.ftp-nlist
Groups: php.notes 
Request: Send a blank email to php-notes+get-164444@lists.php.net to get a copy of this message
Some complain that ftp_nlist, always return FALSE. I did experience this behavior myself, until I used ftp_pasv, which is useful if your client is behind a firewall (which most clients are now), then ftp_nlist worked just fine. I don't really know what are all the implications of using ftp_pasv, but if you read or experience that ftp_nlist, ftp_get, ftp_nb_get doesn't work, try adding the following: ftp_pasv($conn_id,true); ---- Server IP: 64.71.164.2 Probable Submitter: 76.169.171.21 ---- Manual Page -- http://www.php.net/manual/en/function.ftp-nlist.php Edit -- https://master.php.net/note/edit/95371 Del: integrated -- https://master.php.net/note/delete/95371/integrated Del: useless -- https://master.php.net/note/delete/95371/useless Del: bad code -- https://master.php.net/note/delete/95371/bad+code Del: spam -- https://master.php.net/note/delete/95371/spam Del: non-english -- https://master.php.net/note/delete/95371/non-english Del: in docs -- https://master.php.net/note/delete/95371/in+docs Del: other reasons-- https://master.php.net/note/delete/95371 Reject -- https://master.php.net/note/reject/95371 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#164444) next »