API17:JFTP:: putCmd
From Joomla! Documentation
JFTP::_putCmd
Description
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
JFTP::_putCmd source code on BitBucket
Class JFTP
Subpackage Client- Other versions of JFTP::_putCmd
User contributed notes
Code Examples