ftp_systype()

It  returns the system type identifier of the remote FTP server

Example

<?php

$ftpId = ftp_connect(‘ftp.phpcodez.com’);

$login = ftp_login($ftpId, ‘anonymous’, ‘user@phpcodez.com’);

echo $type = ftp_systype($ftp) or die(“Failed”);

ftp_quit($ftpId);

?>

Share