mirror of
https://github.com/prasathmani/tinyfilemanager.git
synced 2026-04-26 19:05:54 +03:00
[GH-ISSUE #987] Cannot upload files with certain file extensions #636
Labels
No labels
Feature
Feature
Is It Really an Issue?
Need More Info
Request
Security
bug
duplicate
enhancement
enhancement
help wanted
invalid
pull-request
question
suggestion
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tinyfilemanager#636
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @ungive on GitHub (Mar 7, 2023).
Original GitHub issue: https://github.com/prasathmani/tinyfilemanager/issues/987
I have tested this with the docker image in the master branch with HEAD commit
d705da6, logged in as default admin user. (Command:sudo docker build -t tiny1 .; sudo docker run -d -p 8000:80 -v $(pwd)/data:/var/www/html/data --name tiny tiny1:latest). I also tested this on another instance, running on an external server, with the same issue.I dropped a bunch of files into the "Upload Files" window (both drag and drop and
selecting with the file manager) that all had the file extension ".mcfunction" and none of them were uploaded, even after having waited for several minutes. At some point some showed a successful indication of an upload, but upon checking the folder it was still empty. I renamed the files to*.cppand then it worked like a charm.Container logs (of opening the upload panel and dropping files):
The browser console was empty.
Uploading using "Upload from URL" worked fine, by specifying a
.mcfunctionfrom GitHub (https://raw.githubusercontent.com/vonas/connectfour-datapack/master/data/connectfour/functions/_copy_gamestate_to_cache.mcfunction), so this might be an issue with the frontend and not the backend.@ungive commented on GitHub (Mar 7, 2023):
Edit: Seems to only be an issue on my Linux machine, drag and drop works on Windows. Probably an issue with dropzone.js
@ungive commented on GitHub (Mar 7, 2023):
I uploaded from a directory in
/home/user/.local/share/...by dragging files from there into the upload box and it didn't work. Moving those files to my Downloads directory and then trying again worked. Probably some permission issue in Linux with my browser and the file manager.Closing.