Add higher FTP timeout options for large 3MF files (#660)

Large Hueforge 3MF files (~28 MB) can't be downloaded from the
  printer's FTP server within the previous 120s max timeout, especially
  during active printing. Added 180s and 300s timeout options to the
  FTP settings dropdown.
This commit is contained in:
maziggy
2026-03-10 08:31:44 +01:00
parent 68d2230cab
commit fa4bb92f7d
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -2064,7 +2064,7 @@ export function SettingsPage() {
onChange={(e) => updateSetting('ftp_timeout', parseInt(e.target.value))}
className="w-full px-3 py-2 pr-10 bg-bambu-dark border border-bambu-dark-tertiary rounded-lg text-white focus:border-bambu-green focus:outline-none appearance-none cursor-pointer"
>
{[10, 15, 20, 30, 45, 60, 90, 120].map(n => (
{[10, 15, 20, 30, 45, 60, 90, 120, 180, 300].map(n => (
<option key={n} value={n}>{t('settings.nSeconds', { count: n })}</option>
))}
</select>