opening pdf files on web using CDML? 
Author Message
 opening pdf files on web using CDML?

I'm having a problem with using PDF files and FMP Web Companion. My
database and CDML code bring up a web page with a link to a PDF file. When
I click on the PDF file link I'd like to either download the file or open
it as a PDF file (i.e. Adobe Acrobat Reader is launched w/in the web
browser). My problem is that it opens it as an ascii file instead
of a binary and so the result is useless garbage. Is there some CDML code
I need to use when supplying the link that indicates it is a binary file
instead of an ascii file? Thanks in advance!

--
_________________________________________________________________________
Leslie P. Fowler                             | Senior Engineer

http://www.***.com/ ~lfowler               | Lord Corporation
_________________________________________________________________________



Sat, 23 Feb 2002 03:00:00 GMT
 opening pdf files on web using CDML?

The webserver for FMP doesn't support these types of files... I ended up
just making a hyperlink to a stored PDF on another webserver.... I know
there are plug-ins that allow display of PDF from within FMP... but don't
know if they'll help the web companion.

Good luck!


Quote:
> I'm having a problem with using PDF files and FMP Web Companion. My
> database and CDML code bring up a web page with a link to a PDF file. When
> I click on the PDF file link I'd like to either download the file or open
> it as a PDF file (i.e. Adobe Acrobat Reader is launched w/in the web
> browser). My problem is that it opens it as an ascii file instead
> of a binary and so the result is useless garbage. Is there some CDML code
> I need to use when supplying the link that indicates it is a binary file
> instead of an ascii file? Thanks in advance!

> --
> _________________________________________________________________________
> Leslie P. Fowler                             | Senior Engineer

> http://www.acm.vt.edu/~lfowler               | Lord Corporation
> _________________________________________________________________________



Sun, 24 Feb 2002 03:00:00 GMT
 opening pdf files on web using CDML?

Quote:


> > I'm having a problem with using PDF files and FMP Web Companion. My
> > database and CDML code bring up a web page with a link to a PDF file. When
> > I click on the PDF file link I'd like to either download the file or open
> > it as a PDF file (i.e. Adobe Acrobat Reader is launched w/in the web
> > browser). My problem is that it opens it as an ascii file instead
> > of a binary and so the result is useless garbage. Is there some CDML code
> > I need to use when supplying the link that indicates it is a binary file
> > instead of an ascii file? Thanks in advance!

> The webserver for FMP doesn't support these types of files... I ended up
> just making a hyperlink to a stored PDF on another webserver.... I know
> there are plug-ins that allow display of PDF from within FMP... but don't
> know if they'll help the web companion.

OK, here's an intersting thing in that case:
http://webko.ucc.usyd.edu.au/mr91101.pdf
http://www.bull.usyd.edu.au/media/mr91101.pdf

Same file. The difference?? One is on a PC and the other a Mac...
The Mac one works... Anyone want to speculate on why??

Cheers

Webko
PS GloveMan, if you have to munge your address, please do it properly...



Fri, 01 Mar 2002 03:00:00 GMT
 opening pdf files on web using CDML?
According to Filemaker, PDF's will be correctly sent using the latest
version of the Web Companion. I had problems (see below), and finally
gave up on sending PDF's directly through Filemaker, although I did
have some success. I don't really know what to tell you, though, since
I never really figured out the problem.

I'm running FMPro with the Web Companion (I think it was v2 at that
time, maybe v3 will work?) on an NT Workstation. In my database, I had
two fields which were placed together in a CDML page within an anchor
tag, pointing to specific PDF's (basically the same as what Leslie is
trying to do). This seemed to work initially, but later I found that
PDF's smaller than 10k in size would not display in IE. I had a hell of
a time figuring out these specifics, and I still question whether this
is actually the 'rule', or if I just ran into some quirky behavior that
I thought I found a pattern in. But we're in the middle of moving to
Lasso, so I decided not to waste any more time on it.

Leslie, do you keep your PDF's inside the Web directory?

Todd Slagter



Quote:



> > > I'm having a problem with using PDF files and FMP Web Companion.
My
> > > database and CDML code bring up a web page with a link to a PDF
file. When
> > > I click on the PDF file link I'd like to either download the file
or open
> > > it as a PDF file (i.e. Adobe Acrobat Reader is launched w/in the
web
> > > browser). My problem is that it opens it as an ascii file instead
> > > of a binary and so the result is useless garbage. Is there some
CDML code
> > > I need to use when supplying the link that indicates it is a
binary file
> > > instead of an ascii file? Thanks in advance!

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.


Fri, 01 Mar 2002 03:00:00 GMT
 opening pdf files on web using CDML?

Quote:

> According to Filemaker, PDF's will be correctly sent using the latest
> version of the Web Companion.

This does appear to be the case. My test files from yesterday
now work correctly on FM4.0v3 Win98, down to a 4K file...
And 4.1v3 on Mac OS 8.6 (already worked 4.1v1 for the Mac)

Try and upgrade Leslie...

Cheers

Webko



Sat, 02 Mar 2002 03:00:00 GMT
 opening pdf files on web using CDML?

: Leslie, do you keep your PDF's inside the Web directory?

Yes, I do. The pdf file I'm trying to open is 375kb.

Leslie
--
_________________________________________________________________________
Leslie P. Fowler                             | Senior Engineer

http://www.acm.vt.edu/~lfowler               | Lord Corporation
_________________________________________________________________________



Sat, 02 Mar 2002 03:00:00 GMT
 opening pdf files on web using CDML?
I upgraded to FMPro 4.0v3. Now opening the PDF is done correctly on a PC
using Netscape. But when I open it on a PC using MS Internet Explorer
(which unfortunately most people at work here use) I only get a blank
white page. I miss the days when there was only Netscape and Mosaic. Now I
have a new problem to troubleshoot I guess -- how to make both browsers
happy.

Leslie

--
_________________________________________________________________________
Leslie P. Fowler                             | Senior Engineer

http://www.acm.vt.edu/~lfowler               | Lord Corporation
_________________________________________________________________________



Sun, 03 Mar 2002 03:00:00 GMT
 opening pdf files on web using CDML?


Quote:
> I upgraded to FMPro 4.0v3. Now opening the PDF is done correctly on a
PC
> using Netscape. But when I open it on a PC using MS Internet Explorer
> (which unfortunately most people at work here use) I only get a blank
> white page. I miss the days when there was only Netscape and Mosaic.
Now I
> have a new problem to troubleshoot I guess -- how to make both
browsers
> happy.

> Leslie

This is exactly the problem I was having. I'm sorry to see you running
into this, since I never did hear or find an answer, other than buying
Lasso. Please let me know if you find anything.

Good luck!
Todd Slagter

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.



Sun, 03 Mar 2002 03:00:00 GMT
 
 [ 8 post ] 

 Relevant Pages 

1. Database of PDF files using Web Companion

2. How do I steam a PDF file stored as a BLOB to my web page

3. Web PDF delivery using Oracle Database

4. Creating PDF reports using RUN_PRODUCT over Web

5. open pdf files with FM - how to program ?

6. open pdf files with FM - how to

7. Open files (pdf)

8. Script to open PDF files

9. small pdf files don't show in web browser

10. CDML - Sending email text file with diacritical mark with web companion

11. opening batch pdf pages in website to open in sequence


 
Powered by phpBB® Forum Software