rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JonJonBravo

Pages: 1
1
HFS ~ HTTP File Server / Re: Documents view in browser
« on: April 05, 2023, 04:12:43 PM »
Looking in the sources of this extension, I've found it includes 2 types of MIME for XLS.

Try to use the following MIME (when doing these steps), for the XLS:

*.xls
application/msexcel

Change "application/vnd.ms-excel" to "application/msexcel"
If that doesn't work, then I had no idea on how to solve this, sorry... :-\

Unfortunately it didn't work. Anyway, thanks for the help. You helped me a lot. ;)

2
HFS ~ HTTP File Server / Re: Documents view in browser
« on: April 05, 2023, 09:52:59 AM »
If it works when using HFS3, then we could make it work with HFS2.
Your last message reminded me a very important step that I've forgotten.

Please try this:

1) In HFS press F5 to switch to expert mode (if you are not already using it).

2) Go to: Menu > Other options > Open directly in browser...

It opens a window, showing this list:

Code: [Select]
*.htm;*.html;*.jpg;*.jpeg;*.gif;*.png;*.txt;*.swf;*.svg
Now, add to the end of that list the following:

Code: [Select]
;*.pdf;*.doc;*.docx;*.xls;*.xlsx;*.ppt;*.pptx
Or replace all the text with this:

Code: [Select]
*.htm;*.html;*.jpg;*.jpeg;*.gif;*.png;*.txt;*.swf;*.svg;*.pdf;*.doc;*.docx;*.xls;*.xlsx;*.ppt;*.pptx
Please report if that solves your issue or not.
(and sorry for my forgetfulness)

Yes, almost all documents now open in the browser.   :D  Only XLS keeps downloading

3
HFS ~ HTTP File Server / Re: Documents view in browser
« on: April 05, 2023, 04:55:37 AM »
In the HFS3 being developed, there are no problems with opening. This version has an Open menu

4
HFS ~ HTTP File Server / Re: Documents view in browser
« on: April 04, 2023, 11:00:28 AM »
I noticed that if you open documents in Windows Explorer through the Open with - EDGE menu, they open perfectly in the browser. But when you click on the links of the local server, the documents are persistently downloaded.

5
HFS ~ HTTP File Server / Re: Documents view in browser
« on: April 04, 2023, 10:09:39 AM »
Then it could probably be a problem of the extension itself. :-[ If you read the comments and reviews of it, you will find most users are complaining that -lately- the extension is not working correctly. I'm almost sure they broke 'something', and unless you find an older 'working version' of the extension, most of the time when this happens there is no solution (until they decide to fix it). That's why I always make a personal local backup of every extension I use. That's all I can help, at least for now. Please leave a comment if you find a solution, as reference for other users.

ok, tnx

6
HFS ~ HTTP File Server / Re: Documents view in browser
« on: April 03, 2023, 06:40:37 PM »
OK, here is the Chrome extension you are talking about:

Office Editing for Docs, Sheets & Slides - v145.610.617
"View and edit Microsoft Word, Excel and PowerPoint files with Google Docs, Sheets and Slides."
https://chrome.google.com/webstore/detail/office-editing-for-docs-s/gbkeegbaiigmenfmjfclcdgdpimamgkj?hl=en

Let's try to solve this...

1) In HFS press F5 to switch to expert mode.
2) Go to: Menu > Other options > MIME types...
     (or press F7 and click on 'MIME types' tab)

Manually add the following mime types:

(The first line goes in "File Mask")
(The second line goes in "MIME Description")


*.pdf
application/pdf

*.doc
application/msword

*.docx
application/vnd.openxmlformats-officedocument.wordprocessingml.document

*.xls
application/vnd.ms-excel

*.xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

*.ppt
application/vnd.ms-powerpoint

*.pptx
application/vnd.openxmlformats-officedocument.presentationml.presentation



...or if you save your settings to 'hfs.ini', search for the line
"mime-types", and directly add the following to the end of that line:

Code: [Select]
|*.pdf|application/pdf|*.doc|application/msword|*.docx|application/vnd.openxmlformats-officedocument.wordprocessingml.document|*.xls|application/vnd.ms-excel|*.xlsx|application/vnd.openxmlformats-officedocument.spreadsheetml.sheet|*.ppt|application/vnd.ms-powerpoint|*.pptx|application/vnd.openxmlformats-officedocument.presentationml.presentation
(This info was taken from a comprehensive list, that I've found here)

Save your HFS configuration, restart HFS and restart your browser.

Please leave a comment here if this has solved (or not) your problem. ;)

Thanks for the answer. PDF opens, other formats are downloaded. :-X

7
HFS ~ HTTP File Server / Re: Documents view in browser
« on: April 02, 2023, 05:53:43 PM »

8
HFS ~ HTTP File Server / Re: Documents view in browser
« on: April 02, 2023, 02:38:59 PM »
but you said it used to work, so, what changed? Maybe you changed mime configuration in HFS ?
if you didn't change anything, then it's probably the browser extension that got updated. Maybe it stopped supporting some cases. (I don't have that installed)
Anyway, Chrome opens pdf without any extension. It works fine here.

I only edited templates.  But in any case, I deleted everything and started from scratch, but now not a single file opens, it only downloads.  :-[

9
HFS ~ HTTP File Server / Re: Documents view in browser
« on: April 02, 2023, 11:48:32 AM »
you didn't answer my first question

Problem in pdf, doc and xlsx.  docx and xls sometimes opens in chrome extension.

10
HFS ~ HTTP File Server / Re: Documents view in browser
« on: April 02, 2023, 11:02:08 AM »
i'm a bit confused.
You have docx+xls correctly working, so the problem is pdf ?
and what HFS version are you using?

Hi. I am using 2.4 rc7

Also tried 2.3m and 3 versions (GitHub). There is no result. I use browsers based on Chromium. Firefox doesn't open anything at all.

11
HFS ~ HTTP File Server / Documents view in browser
« on: April 02, 2023, 09:12:22 AM »
Hi all. It is necessary that documents on the local network open in a new window instead of being downloaded.

Installed the extension from Google.


For some time, all formats (doc, docx, xls, xlsx and pdf) were opened, but at some point only (docx and xls) began to open, the rest were downloaded.
I can't figure out what caused this crash.

Very necessary. Thank you.

Pages: 1