JFTP:: putCmd
From Joomla! Documentation
The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.
JFTP::_putCmd[edit]
Description[edit]
Send command to the FTP server and validate an expected response code.
public function _putCmd (
$cmd
$expectedResponse
)
Parameter | Type | Default | Description |
---|---|---|---|
$cmd | string | Command to send to the FTP server | |
$expectedResponse | mixed | Integer response code or array of integer response codes |
- Returns boolean True if command executed successfully
- Defined on line 1266 of libraries/joomla/client/ftp.php
- Referenced by
See also[edit]
JFTP::_putCmd source code on BitBucket
Class JFTP
Subpackage Client
- Other versions of JFTP::_putCmd
User contributed notes[edit]
Code Examples[edit]