I’m using a Xperia 10 with SFOS in tethering mode as Internet connection + VPN for all devices in the house and also a big SD-card as NAS, accessible via SFTP. This works great since years for file copy and backup.
But next, I would like to mount the NAS volume on a GrapheneOS device using WebDAV. There are apps available for WebDAV protocol to do so on GrapheneOS. But for this I need to add WebDAV server protocol to the Sailfish OS phone that works as gateway / NAS in my home network.
Is it possible to install WebDAV server protocol onto a SFOS phone to access the SD-card of the phone via WLAN by WebDAV? If yes, what do I have to do?
There are a few servers, but the biggest hurdle for you to use them might be their dependencies, ie. Baikal is PHP based. There are also Python based Radicale and Xandikos, and Go based sftpgo (sic), SFTP, FTP/S, and WebDAV server.
Thank you @nephros !
On the Gateway/NAS phone’s SD card I have some mp3 and mp4 files, and I want to mount the SD-card as network drive on a GrapheneOS phone as network drive, to be able to choose and open the files using VLC Player.
For all other use cases, the built in SFTP server of the Gateway phone works like a charm since years. But VLC player seems to need something that looks like a local drive for the ‘open folder’ feature. No idea to do this with SFTP only.
edit: I tested with desktop computer. Playing videos on desktop computer works fine when connected to NAS by SFTP. So server / NAS is OK, and I have to solve the problem on the GrapheneOS phone.
It turned out that this is not necessary.
On Linux PC I can open the directory in the file manager and right click - open with - VLC Player. Works.
On other SailfishOS phone the same as on other GrapheneOS phone, it is not possible to select a file and some kind of ‘open with - some media player’, at least i found no option.
So anyhow no WebDAV necessary on the NAS phone.
Remains the question: Is it possible to ‘select file - open with - media player’ on SFOS (and GrapheneOS) phone. Any ideas?
edit: but despite this is a very interesting task.
Thank’s very much @nephros . Found this: https://rclone.org/ and the package on Storeman. Will test it on a testphone, if I come clear with it, then I’ll install it on the Gateway/NAS phone and report how it works.
edit: installed rclone on my testphone but have no idea how to enable WebDAV server.
Please can anyone give me some hints for enabling WebDAV server to make media files accessible from other LAN device? Thanks for any hint!
2025/11/08 16:52:46 NOTICE: Config file "/home/defaultuser/.config/rclone/rclone.conf" not found - using defaults
2025/11/08 16:52:46 NOTICE: Local file system at /home/defaultuser/SD-Karte/1945-0CA4: WebDav Server started on 192.168.0.6:9000
2025/11/08 16:52:46 NOTICE: Local file system at /home/defaultuser/SD-Karte/1945-0CA4: poll-interval is not supported by this remote