Hi if I perform an FTP, how do I get the file types and file size?
ftp_login($conn_id, $myuserid, $mypwd);
$handle = opendir($batchdir);
while($ffilename = readdir($handle)) {
if ($ffilename != "." && $ffilename != "..") {
// how do I print out file size and types?
}
}
closedir($handle);
ftp_close($conn_id);
*please note that all variables have been taken care of