ftp_systype
PHP 4, PHP 5, PHP 7, PHP 8
ftp_systype - Returns the system type identifier of the remote FTP server
Manual
ftp_systype(
FTP\Connection$ftp ): string|false
Returns the system type identifier of the remote FTP server.
Parameters
- ftp
-
An FTP\Connection instance.
Return Values
Returns the remote system type, or false on error.
Changelog
Version | Description |
8.1.0 | The ftp parameter expects an FTP\Connection instance now; previously, a resource was expected. |