unftp-sbe-webdav

Crates.iounftp-sbe-webdav
lib.rsunftp-sbe-webdav
version0.2.0
created_at2025-08-15 12:31:17.237175+00
updated_at2025-08-20 08:58:19.796019+00
descriptionA WebDAV storage back-end for libunftp, providing translation between FTP & WebDAV
homepage
repositoryhttps://github.com/Javex/unftp-sbe-webdav
max_upload_size
id1796680
size145,027
Flozza (Javex)

documentation

README

unftp-sbe-webdav

A storage back-end for libunftp that transparently forwards requests to a WebDAV back-end. If you have a client that only speaks FTP, but a server that only speaks WebDAV, you can use this library to bridge that gap.

Warning: This is an extremely basic implementation. Be careful where you use it.

Features:

  • Implements most basic FTP commands.
  • Authenticates to WebDAV server using the client's FTP credentials.

Limitations:

  • No support for chunked uploads. WebDAV doesn't support that, although Nextcloud & ownCloud do.
  • Only tested with Nextcloud back-end.

How to use

  • Set environment variable WEBDEV_SERVER to URL of WebDAV endpoint, for example https://example.com/dav/files. The username is automatically appended to the URL! As I mentioned above, only tested on Nextcloud right now.
  • Create a server like is shown in examples/webdav_ftp_server.rs.
  • Connect using any FTP client, for example curl -u username:password ftp://127.0.0.1:2121/ to list files.
Commit count: 17

cargo fmt