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_nlist(3) - php
ftp_get_option(3) - php
ftp_alloc(3) - php
ftp_get(3) - php
ftp_rawlist(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update
Please Welcome Nicki Paul to the Moderator Team!