Skip to content
프로젝트

owendswang/ps5-web-file-manager

GitHub에서 보기

소개

A file manager for PS5 with a web UI.

생산성 및 자동화

이 수치를 측정하는 방법

What you can do

  • List files and folders.
  • Sort the list by name, type, size, modified time, or permissions. The selected sort mode is saved in browser local storage.
  • Change read/write/execute permissions from the permissions column, using checkboxes or a validated four-digit octal mode.
  • Copy, move, delete, rename, create files, and create folders.

측정된 스타 증가

in 24h
+6
in 7 days
+37
in 15 days
+74
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

PS5 Web File Manager

A file manager for PS5 with a web UI. It is primarily intended for quickly and safely copying game dump folders from USB storage to internal storage.

Brief

PS5 web file manager payload. It runs an HTTP UI starting at port 8888, registers a home screen launcher in the Media category on startup, and provides file operations from the PS5 browser or another browser on the same network. If 8888 is already in use, the payload tries the next port until one is available; the startup notification and home screen launcher use the actual listen port.

Screenshots

PS5 Web File Manager screenshot 1 PS5 Web File Manager screenshot 2 PS5 Web File Manager screenshot 3 PS5 Web File Manager screenshot 4 PS5 Web File Manager screenshot 5 PS5 Web File Manager screenshot 6

Features

  • List files and folders.
  • Sort the list by name, type, size, modified time, or permissions. The selected sort mode is saved in browser local storage.
  • Change read/write/execute permissions from the permissions column, using checkboxes or a validated four-digit octal mode.
  • Copy, move, delete, rename, create files, and create folders.
  • Edit UTF-8 text files up to 1 MiB using the built-in plain text editor.
  • Multi-select operations.
  • Browse SMB, FTP and WebDAV servers through Manage Paths, alongside local folder shortcuts.
  • Read/write USB NTFS partitions through WFM.
  • Copy/move by choosing sources first, then pasting or moving them into the current folder.
  • Conflict prompts for overwriting files and merging folders.
  • Extract archive files ending with .7z, .001, .zip, .zipx, .rar, .part01.rar, .arj, .bz2, .bzip2, .tbz, .tbz2, .cab, .gz, .gzip, .tgz, .tpz, .lzh, .lha, .tar, .xz, .txz, .z, .taz, .zst, .tzst, .xar, .xip, .cpio, .lzma, .pmd. Extraction requires the separately distributed wfm-7zip-helper.elf helper at /data/wfm/wfm-7zip-helper.elf.
  • Upload single files, multiple files, or folders from a remote browser using the file picker or full-page drag and drop. Upload is hidden in the PS5 browser because it is intended for another device on the network.
  • Download selected items individually: files download directly, and each folder downloads as its own .tar archive. Download is hidden in the PS5 browser.
  • Full-screen task overlay with delayed display, progress, speed, ETA, cancel support, and task recovery after reopening the browser while the payload process is still running.
  • Copied/moved files and folders on local storage are set to 0777 where the filesystem supports Unix permissions. FAT/exFAT-style filesystems may ignore chmod.
  • Uploaded files are written through temporary files and are renamed into place after the upload completes.
  • Chinese and English UI. The browser language is read from navigator.languages / navigator.language; Chinese uses zh, everything else uses English.
  • Responsive layout for narrow mobile browsers, including wrapped toolbars and horizontally scrollable file lists.
  • Startup notification showing the app name, version, and listen port.
  • Home screen launcher icon and browser favicon use the same embedded icon0.png data in the PS5 build to avoid storing the icon twice in the ELF.
  • Create/edit text files ending with .txt, .json, .xml, .ini, .cfg, .conf, .md, .log, .lua, .js, .css, .html, .htm, .c, .h, .cpp, .hpp, .sh, .csv, .yaml, .yml, .shn.
  • Preview image files ending with .png, .jpg, .jpeg, .gif, .bmp, .webp.
  • Install/Preview PKG files ends with .pkg.
  • Launch payload files ending with .elf by sending them to the ELF loader at localhost:9021 after confirmation.
  • Toggle the PS5 browser between fullscreen and its ordinary layout from the top-right button. The browser reopens the current folder.

Build

It depends on PS5 payload SDK first: ps5-payload-dev/sdk

export PS5_PAYLOAD_SDK=/opt/ps5-payload-sdk

Initialize the pinned dependencies with git submodule update --init --recursive.

Building the NTFS library also requires Autoconf, Automake, Libtool and pkg-config on the build host. FUSE, NTFS utilities and crypto tools are not included.

make checks for libmicrohttpd before building and runs the installer script automatically if it is missing:

make

If the build host has no network access, download the libmicrohttpd source tarball yourself and run the dependency installer once:

LIBMICROHTTPD_TARBALL=/path/to/libmicrohttpd-1.0.1.tar.gz \
  ./install-libmicrohttpd.sh

Then build again:

make

The output is:

web-file-mgr.elf

For local browser/UI testing on Linux:

make linux
./web-file-mgr-linux

The Linux build does not include the PS5 home screen installer.

Usage

Start an ELF loader on the PS5. The common listener port is 9021.

Send the built payload with netcat or NetCat GUI:

export PS5_HOST=ps5_ip_address
nc -q0 "$PS5_HOST" 9021 < web-file-mgr.elf

After the payload starts, the PS5 notification shows the app name, version, and actual listen port. Open the shown URL in the PS5 browser, for example:

http://${PS5_IP_ADDRESS}:8888/

On startup the payload registers a PS5 Web File Manager web shortcut in the Media category. Missing launcher files are written; existing icons and names are preserved. Only the loopback URL in param.json is updated to the actual listen port, including fallback ports such as 8889.

Remote paths

In Manage Paths → Add Path, enter a directory URL:

Protocol Without credentials With credentials
SMB smb://server/share/folder smb://user:password@server/share/folder
FTP ftp://server/folder ftp://user:password@server/folder
WebDAV webdav://server:8080/folder webdav://user:password@server:8080/folder
  • Replace server with an IP address or hostname. Use / separators and specify :port when needed.
  • WebDAV also accepts http:// and dav://. FTPS and HTTPS/TLS are not supported.
  • Without credentials requires guest/anonymous access. Use user@server to enter the password separately.
  • Paths and accounts are saved on the PS5; passwords are saved only in the browser's local storage and removed when the corresponding path is removed from that browser.
  • SMB paths include a share name; smb://server/ can list shares if the server allows it.
  • Percent-encode special characters in usernames/passwords: @ → %40, : → %3A, % → %25.

Notes

  • Copy, move, delete, upload, and download run as single background tasks. While one task is running, other file operations are rejected.
  • 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.
  • 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.

FAQ

  • The optional fullscreen button patches browser layout in RAM; it does not replace system files.
  • If you are using P2JB and this payload causes a kernel panic, avoid using it with that setup. Stability matters more than convenience when each retry takes a long time.
  • The preparing stage may calculate folder size and check available space. It can be slow when a folder contains many files, but it helps prevent starting a copy, move, upload, or download operation that cannot be completed safely.

Credits

This project was built with reference to these projects:

  • ps5-payload-dev/websrv: HTTP server structure, static asset embedding ideas, PS5 browser/websrv behavior and PKG install function. SMB connection/authentication and SMB PKG installation reference. License: GPLv3+.
  • itsPLK/ps5-pkg-manager: HTTP PKG streaming, byte-range handling and installation metadata/icon URL reference. License: GPLv3.
  • ps5-payload-dev/ftpsrv: PS5 payload conventions, home screen launcher/install flow reference, process handling style and startup installation reference. License: GPLv3+.
  • seregonwar/zftpd: PS5 TCP socket buffer tuning and high-throughput transfer behavior reference. License: MIT.
  • itsPLK/ps5-payload-manager: Payload building behavior and native browser launch reference. License: GPLv3.
  • owendswang/ps5-web-browser-fullscreen: Browser fullscreen/restore implementation. License: GPLv3+.
  • Hermes: Generated bytecode opcode metadata used by the fullscreen dependency. Copyright Meta Platforms, Inc. and affiliates. License: MIT.
  • libmicrohttpd: Used as the embedded HTTP server library. It is licensed by GNU under the LGPL; this payload links it as the SDK-provided static library.
  • libsmb2: SMB2/3 client library. License: LGPLv2.1 or later.
  • NTFS-3G / libntfs-3g: USB NTFS access, by Tuxera and the NTFS-3G contributors. License: GPLv2 or later; used under GPLv3 or later in this project. Original notices are retained in vendor/ntfs-3g; build adaptations are in patches/ntfs-3g-library.patch.
  • curl / libcurl: FTP and HTTP WebDAV transport, including FTP directory parsing. License: curl license; see vendor/curl/COPYING.
  • yxml: Small streaming XML parser used for WebDAV responses. License: MIT; see vendor/yxml/COPYING.
  • ps5-payload-dev/sdk: Payload building foundation. License: GPLv3+.
  • etaHEN: ShellUI URI navigation used to return to the PS5 home screen before exit. License: GPLv3.
  • ezremote: Preview PKG info. License: GPLv2.

License

The project is distributed under GPLv3 or later, matching the GPLv3+ projects used as implementation references. See LICENSE.

Third-party projects retain their own licenses. Do not copy assets or source from the credited projects into another distribution without preserving the corresponding license notices.

The curl, yxml and Hermes-derived metadata retain their original copyright and license notices, also reproduced below for binary distributions.

If distributing binaries, comply with the LGPL terms for libmicrohttpd and libsmb2 in addition to this project's GPL license.

curl, yxml and Hermes copyright and permission notices

curl / libcurl

COPYRIGHT AND PERMISSION NOTICE

Copyright (c) 1996 - 2026, Daniel Stenberg, <[email protected]>, and many contributors, see the THANKS file.

All rights reserved.

Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, the name of a copyright holder shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization of the copyright holder.

yxml

Copyright (c) 2013-2014 Yoran Heling

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Hermes opcode metadata

MIT License

Copyright (c) Meta Platforms, Inc. and affiliates.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

관련 프로젝트 살펴보기

불러오는 중…