function backup_migrate_destination_ftp::load_file

cis7 destinations.ftp.inc backup_migrate_destination_ftp::load_file($file_id)
cle7 destinations.ftp.inc backup_migrate_destination_ftp::load_file($file_id)
elmsmedia7 destinations.ftp.inc backup_migrate_destination_ftp::load_file($file_id)
icor7 destinations.ftp.inc backup_migrate_destination_ftp::load_file($file_id)
meedjum_blog7 destinations.ftp.inc backup_migrate_destination_ftp::load_file($file_id)
mooc7 destinations.ftp.inc backup_migrate_destination_ftp::load_file($file_id)

Load from the ftp destination.

Overrides backup_migrate_destination::load_file

File

sites/all/modules/ulmus/backup_migrate/includes/destinations.ftp.inc, line 32
Functions to handle the FTP backup destination.

Class

backup_migrate_destination_ftp
A destination for sending database backups to an FTP server.

Code

function load_file($file_id) {
  backup_migrate_include('files');
  $file = new backup_file(array('filename' => $file_id));
  $this->ftp_object();
  if (drupal_ftp_ftp_to_file($file->filepath(), $file_id, '.', $this->ftp)) {
    return $file;
  }
  return FALSE;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.