From 356b208f33520daafef13856369cbe1523b6b629 Mon Sep 17 00:00:00 2001 From: Frank Haverland Date: Tue, 27 Sep 2022 16:30:41 +0200 Subject: [PATCH] change max file characters to 100 --- sd-card/html/ota_page.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sd-card/html/ota_page.html b/sd-card/html/ota_page.html index 10e7d323..f1a6f356 100644 --- a/sd-card/html/ota_page.html +++ b/sd-card/html/ota_page.html @@ -168,8 +168,8 @@ function upload() { alert("No file selected!"); } else if (filePath.length == 0) { alert("File path on server is not set!"); - } else if (filePath.length > 30) { - alert("Filename is to long! Max 30 characters."); + } else if (filePath.length > 100) { + alert("Filename is to long! Max 100 characters."); } else if (filePath.indexOf(' ') >= 0) { alert("File path on server cannot have spaces!"); } else if (filePath[filePath.length-1] == '/') {