mirror of
https://github.com/sigoden/dufs.git
synced 2026-04-08 16:49:02 +03:00
[GH-ISSUE #585] File name encoding preventing file access through WebDAV #348
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Timtam on GitHub (May 26, 2025).
Original GitHub issue: https://github.com/sigoden/dufs/issues/585
Problem
I'm trying to upload a file which contains a german Umlaut in its name (the file is called Freche Mädchen.txt) via WebDAV. It works just fine when using FileZilla Pro, but it causes an error when uploaded via the WebDAV plugin for Total Commander (latest version), which can be found here: https://www.ghisler.com/plugins.htm
Checking the logs (see below) it looks like FileZilla uses a different encoding for the file name, which results in the upload being successful, but the Total Commander upload fails. Renaming the file to Freche Maedchen.txt results in Total Commander being successful, so its definitely the Umlaut that is causing trouble here.
Configuration
Following environment variables are in use:
Log
The following line is the successful upload by FileZilla Pro within the logs:
The following line is the unsuccessful attempt by TC with the WebDAV plugin:
Environment Information
@sigoden commented on GitHub (May 26, 2025):
This is not a bug in dufs. The URL

/Uploads/Freche%20M%E4dchen.txtis invalid.@smerschjohann commented on GitHub (May 26, 2025):
It is not wrong in that sense. It's just converted from ISO8859-15 instead of UTF-8. But I guess there is nothing one can do about that. Maybe Filezilla can be reconfigured to use UTF-8 here.
@Timtam commented on GitHub (May 26, 2025):
FileZilla does it right, TC doesn't. TC does have a switch that says it'll translate accented characters in URIs to UTF-8, but that switch doesn't seem to affect Umlauts unfortunately.