public function file_put_contents( $to, $data, $resume = false ) {
		if( $resume ) {
            return $this->SFTPObject->put($to, $data,
                (is_file($data) && file_exists($data) ? NET_SFTP_LOCAL_FILE : NET_SFTP_STRING) | NET_SFTP_RESUME);
        } else return $this->SFTPObject->put($to, $data,
            (is_file($data) && file_exists($data) ? NET_SFTP_LOCAL_FILE : NET_SFTP_STRING));

	}