You are here

abstract public function FileTransfer::connect in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::connect()
  2. 9 core/lib/Drupal/Core/FileTransfer/FileTransfer.php \Drupal\Core\FileTransfer\FileTransfer::connect()

Connects to the server.

2 methods override FileTransfer::connect()
Local::connect in core/lib/Drupal/Core/FileTransfer/Local.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 108

Class

FileTransfer
Defines the base FileTransfer class.

Namespace

Drupal\Core\FileTransfer

Code

public abstract function connect();