WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

PHP ftp_systype () function


Definition and usage

ftp_systype () function returns the system type identifier of the FTP server.

If successful, this function returns the system type. If it fails, it returns FALSE.

Syntax

ftp_systype (ftp_connection)

parameters Description
ftp_connection Required. Specifies the FTP connection to use.


Example

<?php
$conn = ftp_connect("ftp.testftp.com") or die("Could not connect");
ftp_login($conn,"admin","ert456");

echo ftp_systype($conn);

ftp_close($conn);
?>

The above code will output:

UNIX