[pmwiki-users] Bug? Filename case for Attach:
5ko at 5ko.fr
Sat Jan 2 14:13:31 PST 2021
This is not a bug but a documented feature.
Some file systems are case insensitive, some are case sensitive, so
FILE.ZIP and FILE.zip may be the same file or different files. A problem
may arise if you migrate your files from one hosting provider to another
-- links may fail to resolve on the new location.
PmWiki will always rename the extension to lowercase. It will also strip
some unsupported characters, both from an Attach: link and when you
upload the file via the ?action=upload form.
One workaround is to type the Attach link and/or use the upload form
instead of FTP.
I agree that if you have many files to upload, especially some that come
from digital cameras or from DOS 8.3 filesystems the file extensions are
uppercase and it may be annoying. In that case you can probably install
DDMU from the cookbook and drop many files on the page -- they will be
On 02/01/2021 22:49, Robert Riebisch wrote:
> Today I uploaded some files to my newest PmWiki installation via FTP.
> But if I write on my page:
> then PmWiki doesn't find the file and shows a ^ after the filename.
> When I hover above the upload link, I see "FILENAME.zip" at the end of
> the URL.
> If I now change the filename via FTP to FILENAME.zip, then PmWiki finds
> the attachment.
> I consider this a bug or bad behavior. :-/
More information about the pmwiki-users