public/wordpress/wp-content/plugins/backupbuddy/controllers/cron.php
/* _remote_send()
	 *
	 * Advanced cron-based remote file sending.
	 *
	 * @param	int		$destination_id		Numeric array key for remote destination to send to.
	 * @param	string	$backup_file		Full file path to file to send.
	 * @param	string	$trigger			Trigger of this cron event. Valid values: scheduled, manual
	 *
	 */
_remote_send()
Advanced cron-based remote file sending.

@param       int             $destination_id         Numeric array key for remote destination to send to.
@param       string  $backup_file            Full file path to file to send.
@param       string  $trigger                        Trigger of this cron event. Valid values: scheduled, manual
_remote_send () Advanced cron - based remote file sending . @param int $destination_id Numeric array key for remote destination to send to . @param string $backup_file Full file path to file to send . @param string $trigger Trigger of this cron event . Valid values : scheduled manual
public function _remote_send( $destination_id, $backup_file, $trigger, $send_importbuddy = false, $delete_after = false ) {
		pb_backupbuddy::set_greedy_script_limits();
		if ( ( '' == $backup_file ) && ( $send_importbuddy ) ) {
			pb_backupbuddy::status( 'message', 'Only sending ImportBuddy to remote destination `' . $destination_id . '`.' );
		} else {
			pb_backupbuddy::status( 'message', 'Sending `' . $backup_file . '` to remote destination `' . $destination_id . '`. Importbuddy?: `' . $send_importbuddy . '`. Delete after?: `' . $delete_after . '`.' );
		}
		if ( !isset( pb_backupbuddy::$options ) ) {
			pb_backupbuddy::load();
		}
		if ( ! class_exists( 'backupbuddy_core' ) ) {
			require_once( pb_backupbuddy::plugin_path() . '/classes/core.php' );
		}
		backupbuddy_core::send_remote_destination( $destination_id, $backup_file, $trigger, $send_importbuddy, $delete_after );
	}
public function _remote_send ( $ destination_id , $ backup_file , $ trigger , $ send_importbuddy = false , $ delete_after = false ) { pb_backupbuddy :: set_greedy_script_limits ( ) ; if ( ( '' == $ backup_file ) && ( $ send_importbuddy ) ) { pb_backupbuddy :: status ( 'message' , 'Only sending ImportBuddy to remote destination `' . $ destination_id . '`.' ) ; } else { pb_backupbuddy :: status ( 'message' , 'Sending `' . $ backup_file . '` to remote destination `' . $ destination_id . '`. Importbuddy?: `' . $ send_importbuddy . '`. Delete after?: `' . $ delete_after . '`.' ) ; } if ( ! isset ( pb_backupbuddy :: $ options ) ) { pb_backupbuddy :: load ( ) ; } if ( ! class_exists ( 'backupbuddy_core' ) ) { require_once ( pb_backupbuddy :: plugin_path ( ) . '/classes/core.php' ) ; } backupbuddy_core :: send_remote_destination ( $ destination_id , $ backup_file , $ trigger , $ send_importbuddy , $ delete_after ) ; }
_remote_send()
 Advanced cron-based remote file sending.
_remote_send () Advanced cron - based remote file sending .