function FileTransfer::connect

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

Connect to the server.

1 call to FileTransfer::connect()
FileTransfer::__get in includes/filetransfer/filetransfer.inc
Implementation of the magic __get() method.
4 methods override FileTransfer::connect()
FileTransferFTPExtension::connect in includes/filetransfer/ftp.inc
Connect to the server.
FileTransferLocal::connect in includes/filetransfer/local.inc
Connect to the server.
FileTransferSSH::connect in includes/filetransfer/ssh.inc
Connect to the server.
TestFileTransfer::connect in modules/simpletest/tests/filetransfer.test
Connect to the server.

File

includes/filetransfer/filetransfer.inc, line 68

Class

FileTransfer

Code

protected abstract function connect();

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