PHP code used for listing the files and directories.
$buff = ftp_nlist($conn_id,$dir );
$buff is an array of both files & directories.
Is there a way to get 2 seperate arrays , 1 contains just files and other just directories.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…