php man page for ftp_systype

Query: ftp_systype

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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_get_option(3) - php
ftp_nb_fput(3) - php
ftp_fput(3) - php
ftp_nb_fget(3) - php
ftp_site(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
New Code Tags (Syntax Highlighting)
Status of UNIX.COM Forum Transformation
Please Welcome Ravinder Singh to the Moderation Team
Please Welcome Nicki Paul to the Moderator Team!