ftp_systype
Returns the system type identifier of the remote FTP server.
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
ftp_systeme ( ftp_connection )
parameter | describe |
---|---|
ftp_connection | Required. Specifies the FTP connection to be used (the identifier of the FTP connection). |