italie |
MAME owes italie many thank yous, hah
|
|
|
Reged: 09/20/03
|
Posts: 15246
|
Loc: BoomTown
|
|
Send PM
|
|
Re: PHP question, FTP and dir listings of larger sizes.
09/13/06 06:52 AM
|
|
|
> Try changing to passive mode first. > > $ftp_host = "yourFTPHost"; > $ftp_user = "yourUsername"; > $ftp_password = "yourPassword"; > $conn = ftp_connect($ftp_host); > ftp_login($conn, $ftp_user, $ftp_password); > ftp_pasv($conn, TRUE); > $file_list = ftp_nlist($conn, ""); > foreach ($file_list as $file) > { > echo " $file"; > } > ftp_close($conn);
Just tried that a little bit ago, no dice. Might be 'one' of the issues so I've left it in my code.
It definatly seems to be a directory size issue. This code will work on any other directory I search, sans the big one. Can't seem to find any documentation about a size issue though.
|
|