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 - jffortier

Pages: 1
1
HFS ~ HTTP File Server / Re: Hosting and PDF viewing
« on: March 05, 2022, 10:13:18 PM »
I forgot to reply  :o

Yes this was the case, change it from text/pdf to application/pdf and it work  ;D

2
HFS ~ HTTP File Server / Re: Hosting and PDF viewing
« on: February 12, 2022, 05:22:14 PM »
 :'(
Well it works on the iPad now, but when employees are using a laptop with Chrome, Edge... and open the link all we see is this... for a long long page of codes. With download or not the PDF, with the Acrobat extension or not, using Chrome default PDF viewer, all the same results  >:(

%PDF-1.2
5 0 obj
<<
/Type /XObject
/Subtype /Image
/Name /img0
/Width 1278
/Height 1576
/BitsPerComponent 8
/ColorSpace /DeviceRGB
/Filter /DCTDecode
/Length 6 0 R
>>
stream
ÿØÿà�JFIF��–�–��ÿÛ�C�      

 $.' ",#(7),01444'9=82<.342ÿÛ�C          

3
HFS ~ HTTP File Server / Re: Hosting and PDF viewing
« on: January 19, 2022, 07:17:30 PM »
BINGO !!

Well the Adobe is still not working, but after seeking thru the other options, I came out to the MIME settings, added *.PDF text/pdf and open in browser when MIME type is define, and now in my iOS device, the simple HTTP URL now open the PDF  ;D no need to have an HTML...

So I might have change the settings and thinking it was iOS13 that change something ??

But now it work like it was before.

Thank you,

4
HFS ~ HTTP File Server / Re: Hosting and PDF viewing
« on: January 19, 2022, 03:41:36 PM »
I spoke with my web dev and he told me that the HFS server returns a "header : Content-Disposition : attachment"
and this force the download of the file, maybe that tel you something ??

I also notice that new HFS version, the config file, I changed the port from 80 to 8080, but when the program starts, the port display is still 80 and will respond to 80 when I call the server.

5
HFS ~ HTTP File Server / Re: Hosting and PDF viewing
« on: January 19, 2022, 02:41:14 PM »
Thanks, but the new version is also not working  :(
Same, I can type the URL in chrome and the file gets downloaded as previous version.

So the problem must be from Adobe's side ::) and now try to get them to see that problem and fix it!! hoooo boy !!

As for NaitLee suggestion!  :o I will have a look but I'm no web developer, so I have no clue really how to incorporate stuff unless a complete example is published, most of the time they only show a small portion of code that you have to assemble to make it work

Thanks,

6
HFS ~ HTTP File Server / Hosting and PDF viewing
« on: January 18, 2022, 09:52:43 PM »
Hello people !

I use HFS to host JPG and PDF files, a (not so) recent change in ios13 made it impossible to view a PDF file inside a webviewer. Installed of showing the PDF, it will try to download it. The user is asked to download the file. It works, the file get downloaded.

I use Filemaker Go and it relies on the Safari engine in it webviewer. So now a simple URL http://www.myserver.com:80/folder1/folder2/file.pdf that was working before, no longer works. The URL in Safari will ask me to download, in Filemaker, the webviewer is not and I DON'T want the user to be able to download the file (contract archive).

Abode just releases a new API to view a PDF, it works perfectly. The only problem, it’s not working with HFS.

In my log, I see the request for the file, but it never gets download and I have an error in the API preview, can't view preview.

demo of the API https://www.adobe.io/document-services/apis/pdf-embed

Problem with HSF configuration ? The API that is not working with HFS ?

So that we're clear, the URL is not protected with a log in, if I enter this URL http://www.myserver.com:80/folder1/folder2/file.pdf in Chrome, the PDF file gets downloaded.

Thanks

7
HFS ~ HTTP File Server / Easy solution from URL
« on: November 16, 2016, 09:32:05 PM »
Hi

I'm a very basic user, I setup HFS on a server to be able to open  scanned JPG and PDF from a mobile apps.

I use Filemaker, locally I open the file with the network path and it work fine, but on the FMGo mobile version, I can't download a file so the only way that I have found was using a web viewer with an URL and it works like a charm.

My problem is: I don't want users to have to login, just one click and the jpg load.
Setup with no user/psw... everybody that scans my IP and put the right port will have a view of my files
locally tested http://user:psw@domain.com/.../xyz.jpg work in Filemaker web viewers and in Chrome
On mobile Safari, that display a security warning (Phishing) and it the prevent FMGo web viewer to display the file (I can't tap on the "continue anyway", it's just blank)


Beside http://user:psw@ is there another way to send credentials to HFS ?

I've read about Ajax... I don't know this and I think it will need to be on a web page, not in URL ?!?!

Thanks

Pages: 1