ftp_systype(3) php man page | unix.com

Man Page: ftp_systype

Operating Environment: php

Section: 3

FTP_SYSTYPE(3)								 1							    FTP_SYSTYPE(3)

ftp_systype - Returns the system type identifier of the remote FTP server

SYNOPSIS
string ftp_systype (resource $ftp_stream)
DESCRIPTION
Returns the system type identifier of the remote FTP server.
PARAMETERS
o $ftp_stream - The link identifier of the FTP connection.
RETURN VALUES
Returns the remote system type, or FALSE on error.
EXAMPLES
Example #1 ftp_systype(3) example <?php // ftp connection $ftp = ftp_connect('ftp.example.com'); ftp_login($ftp, 'user', 'password'); // get the system type if ($type = ftp_systype($ftp)) { echo "Example.com is powered by $type "; } else { echo "Couldn't get the systype"; } ?> The above example will output something similar to: Example.com is powered by UNIX PHP Documentation Group FTP_SYSTYPE(3)
Related Man Pages
ftp_ssl_connect(3) - php
ftp_nb_fput(3) - php
ftp_alloc(3) - php
ftp_fput(3) - php
ftp_nb_fget(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch