prasathmani / tinyfilemanager

Single-file PHP file manager, browser and manage your files efficiently and easily with tinyfilemanager
https://tinyfilemanager.github.io
GNU General Public License v3.0
4.87k stars 1.66k forks source link

Problem with file uploads #1161

Open GatoulisTheLurker opened 5 months ago

GatoulisTheLurker commented 5 months ago

Hello, i installed on my linux vps TFM and started using it but i encountered a small issue. When i upload a file through SFTP using filezilla or any other SFTP, the file shows up correctly in TFM and i am able to view the file through the web viewer. But when i upload a file through the upload option in TFM the size shows up incorrectly and i cannot view the file in web viewer BUT if i click the download button it then downloads it with the correct size and i can view the file without problem. 2024-04-09 12_59_06-Window For example, these 2 files in the image i attached are the same exact but the 39mb one was uploaded through sftp and the other one through tfm. The 39mb is viewable through the tfm but the other one is not, but if i download it then i can read it as it downloads the correct file size. Any ideas ?

hestiacn commented 4 months ago

You can upload directly using the command line by logging into the server or virtual machine environment. For example: Use apt install lrzsz -y to install the debian system. Use the command rz and press Enter to upload. The option box that needs to be uploaded will pop up.

GatoulisTheLurker commented 4 months ago

thats good to know, im just asking because i made this file archive for my classmates to share files and ebooks and they dont have access to the main server with the command line, just the site.

hestiacn commented 4 months ago

It is recommended to use the hestia server panel to manage the server and configure the ssh account of the domain name for your classmate so that he can upload files through ssh. If you are a Chinese user, please visit https://hestiamb.org. If you are an English user, pleaseVisit https://hestia.com for server configuration management,

hestiacn commented 4 months ago

It is a very free and easy-to-use server management panel. If you have any questions about configuration, you can send email to communicate with me.

unclehowell commented 3 months ago

When my network device uses chrome and TFM is hosted locally over http (not https) on my local homeserver (headless Ubuntu 23.10), the file upload says its working, but fails.