function FileTransfer::connect

Same name in other branches
  1. 7.x includes/filetransfer/filetransfer.inc \FileTransfer::connect()
  2. 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::connect()
  3. 8.9.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::connect()
  4. 11.x core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\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\FileTransfer

Code

public abstract function connect();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.