function drupal_ftp_ftp_object

cis7 drupal_ftp_ftp_object($server, $port, $user, $pass, $dir, $pasv)
cle7 drupal_ftp_ftp_object($server, $port, $user, $pass, $dir, $pasv)
elmsmedia7 drupal_ftp_ftp_object($server, $port, $user, $pass, $dir, $pasv)
icor7 drupal_ftp_ftp_object($server, $port, $user, $pass, $dir, $pasv)
meedjum_blog7 drupal_ftp_ftp_object($server, $port, $user, $pass, $dir, $pasv)
mooc7 drupal_ftp_ftp_object($server, $port, $user, $pass, $dir, $pasv)

creates a new ftp object. if any elements of ftp_map are missing, they'll be filled with the server defaults.

3 calls to drupal_ftp_ftp_object()
backup_migrate_destination_ftp::ftp_object in sites/all/modules/ulmus/backup_migrate/includes/
drupal_ftp_connect in sites/all/modules/ulmus/backup_migrate/includes/
The drupal_ftp_connect function This function connects to an FTP server and attempts to change into the directory specified by the fourth parameter, $directory.
drupal_ftp_connected in sites/all/modules/ulmus/backup_migrate/includes/
The drupal_ftp_connected function This function queries the FTP server with the ftp_systype command to check if the connection is still alive. It returns TRUE on success or FALSE on disconnection.


sites/all/modules/ulmus/backup_migrate/includes/, line 113
Functions to handle the FTP backup destination.


function drupal_ftp_ftp_object($server, $port, $user, $pass, $dir, $pasv) {
  $ftp = new stdClass();

  $ftp->__server = $server;
  $ftp->__port = $port;
  $ftp->__user = $user;
  $ftp->__password = $pass;
  $ftp->__directory = $dir;
  $ftp->__pasv = $pasv;

  return $ftp;



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.