-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to download files in firefox browser. #1
Comments
I have just tested it here with Firefox 105.0.3 and Brave 1.44.112 (106.0.5249.119) and it worked as expected. Please, try it on my download files, if it works will probably be something with your Nginx config, if not, probably something with your Firefox (maybe some addon): |
My Firefox version is 105.0.3 (64bit). When I download this link: https://www.ghsix.com.br/arquivos/downloads/AVB27-1.EXE This file is saved as: AVB27-1.EXE.htm,The extension is not .exe but .htm |
Another problem is that when I return to the upper level directory, the page only displays in red: SyntaxError: JSON parse: unexpected character at line 1 column 1 of the JSON data |
Can you achieve the same effect without using json? I'm not very good at it, so I still need your help. |
I try to use other templates that do not use json, and this kind of problem will not occur. |
Just downloaded this specific file and the name was ok. About the go to upper directory error, it's something I've never experienced too. Try disable all your addons to see if it helps, try in a different browser and try in a different PC or smartphone to see what happens. About the Nginx JSON output, it's the only way to get the file listing to be read and manippulated by JavaScript. I guess it could be accomplished with XML output too, but would render a worse performance compared to JSON. Can you point me another "template" that works for you so I can check it? |
I think this is also good(https://github.com/kaiby/autoindex), but it does not search for files. It is troublesome for many files to find. At the same time, the column width spacing of file name, time, and size is too small, and the display of long file names is incomplete. If you can solve these problems, it would be great. |
This one is very elegant. But it's a different approach, in fact. I receive the data in JSON and process in JS, this other one, differently, receives the data from the list in HTML and only adds a CSS and a minimum of JS. |
Excuse me, I have a problem I want to know the solution: in firefox, whenever I want to download any exe file, click the download icon or file name, it will open the file instead of saving it, why?
The text was updated successfully, but these errors were encountered: