Skip to content

feat(network): delete files on network shares - #848

Open
nicandris wants to merge 1 commit into
marlboro-advance:masterfrom
nicandris:network-delete
Open

nicandris wants to merge 1 commit into
marlboro-advance:masterfrom
nicandris:network-delete

Conversation

@nicandris

@nicandris nicandris commented Sep 28, 2026 •

Copy link
Copy Markdown

Closes #842.

Long-press a video in the network browser → the existing delete confirmation dialog → the file is deleted on the server and removed from the list. Failures show a toast.

  • NetworkClient.deleteFile(path) with implementations for WebDAV (sardine.delete), SMB (DiskShare.rm) and FTP (FTPClient.deleteFile)
  • NetworkRepository.deleteFile; the client lookup shared with listFiles is pulled into getOrCreateClient
  • SMB path resolution moved out of listFiles into toRelativePath so delete resolves paths the same way (no behaviour change)

Tested on a Pixel 9 (debug build) against a WebDAV server: long-press → confirm deletes the file on the server. SMB and FTP are not tested on a device.

Long-press a video in the network browser to delete it after confirmation.
Adds deleteFile to NetworkClient with WebDAV, SMB and FTP implementations.

Closes marlboro-advance#842
@vercel

vercel Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
mpvex Ready Ready Preview Sep 28, 2026 2:53pm UTC

This branch was successfully deployed

1 active deployment
Preview — ca45e257 Deployed Sep 28, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Network/SMB Delete

1 participant