From f105808ee43fb3cd3e95fe1a5cbed463a13ebed4 Mon Sep 17 00:00:00 2001 From: owendswang Date: Sat, 17 Oct 2026 22:37:33 +0800 Subject: [PATCH] Added ability to list share folders from the SMB server --- README.md | 2 +- assets/index.html | 11 ++++- assets/lang-en.js | 8 ++- assets/lang-zh.js | 8 ++- assets/main.css | 31 ++++++++++-- assets/main.js | 121 +++++++++++++++++++++++++++++++++++++--------- src/filemgr.c | 5 ++ src/smb.c | 84 +++++++++++++++++++++++++++++++- src/smb.h | 1 + 9 files changed, 240 insertions(+), 31 deletions(-) diff --git a/README.md b/README.md index 2a171b6..25953c5 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ On startup the payload registers a `PS5 Web File Manager` web shortcut in the Me - Delete is recursive and permanent. There is no recycle bin. - Copy/move tasks can be canceled. A partially copied single file is removed, but partially copied folders are left in place to avoid deleting existing files when merging into an existing target folder. - Upload tasks can be canceled. A partially uploaded temporary file is removed when possible. -- Downloading a folder or multiple selected items produces a tar stream. The tar archive is generated by the payload and is not written to PS5 storage first. +- Selected files download individually, and each selected folder produces its own tar stream. The tar archives are generated by the payload and are not written to PS5 storage first. - The UI can recover the active task display if the browser is closed and reopened while the payload process is still running. - Text editing is limited to common text-file extensions. Non-UTF-8 and oversized files are rejected. - File names are transmitted as UTF-8 through the web API. The payload also attempts to preserve legacy byte-oriented names returned by mounted filesystems so mixed USB filename encodings can still be displayed and operated on. diff --git a/assets/index.html b/assets/index.html index 514c823..6ce5aea 100644 --- a/assets/index.html +++ b/assets/index.html @@ -153,7 +153,16 @@