Current Location: Home> Function Categories> ftp_systype

ftp_systype

Returns the system type identifier of the remote FTP server.
Name:ftp_systype
Category:Uncategorized
Programming Language:php
One-line Description:Returns the system type identifier of the remote FTP server.

Definition and usage

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

This function returns the system type of the remote server. If an error occurs, false is returned.

实例

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

echo ftp_systype($conn);

ftp_close($conn);
?>

输出类似:

UNIX

grammar

 ftp_systeme ( ftp_connection )
parameter describe
ftp_connection Required. Specifies the FTP connection to be used (the identifier of the FTP connection).
Similar Functions
Popular Articles