function FileTransfer::connect
Connects to the server.
1 call to FileTransfer::connect()
- FileTransfer::__get in core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php  - Implements the magic __get() method.
 
4 methods override FileTransfer::connect()
- FTPExtension::connect in core/
lib/ Drupal/ Core/ FileTransfer/ FTPExtension.php  - Connects to the server.
 - Local::connect in core/
lib/ Drupal/ Core/ FileTransfer/ Local.php  - Connects to the server.
 - SSH::connect in core/
lib/ Drupal/ Core/ FileTransfer/ SSH.php  - Connects to the server.
 - TestFileTransfer::connect in core/
modules/ system/ tests/ src/ Functional/ FileTransfer/ TestFileTransfer.php  - Connects to the server.
 
File
- 
              core/
lib/ Drupal/ Core/ FileTransfer/ FileTransfer.php, line 160  
Class
- FileTransfer
 - Defines the base FileTransfer class.
 
Namespace
Drupal\Core\FileTransferCode
abstract public function connect();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.