'.esc_html__('Please check your FTP Host settings and try again (leave FTP Host BLANK for local backups).','wpdbbkp'); backupbreeze_preflight_problem( $trouble ); } $result = ftp_login( $conn, $user, $pass ); if ( ! $result ) { $trouble = esc_html__('I could not log in to your FTP server.','wpdbbkp').'
'.esc_html__('Please check your FTP Username and Password, then try again.','wpdbbkp').'
'.esc_html__('For local backups, please leave the FTP Host option BLANK.','wpdbbkp'); backupbreeze_preflight_problem( $trouble ); } $success = ftp_chdir( $conn, $subdir ); if ( ! $success ) { $trouble = esc_html__('I cannot change into the FTP subdirectory you specified. Does it exist?','wpdbbkp').'
'.esc_html__('You must create it first using an FTP client like FileZilla.','wpdbbkp').'
'.esc_html__('Please check and try again.','wpdbbkp'); backupbreeze_preflight_problem( $trouble ); } } } }