Forums

ASP

This topic is locked

Opening pdf files with asp

Posted 22 Dec 2005 18:57:41
1
has voted
22 Dec 2005 18:57:41 moony marwane posted:
Hi all

I'm looking for code regarding opening pdf files from hard disk with asp, the website is hosted in C:\ and the pdf files are in D:\.
Does anyone have an idea about this??

Many thanks in advance.

Moony.

Replies

Replied 23 Dec 2005 13:02:35
23 Dec 2005 13:02:35 Rene Bandsma replied:
Hi Moony,

What do you exactly want? If you just want to download the images from anohter drive you can use an absolute path.


<hr><b>DMXZone support manager</b><br><a href="www.kousman.nl">Kousman web resellers</a>
Replied 23 Dec 2005 15:21:11
23 Dec 2005 15:21:11 moony marwane replied:
Hi Rene

First, thanks for your reply.
second, to be more clear, I have an asp file (hosted in c:\ of my web server) that lists (filesystemobjects) the content of a folder in D:\, in this asp file I have in front of each file 3 links (download/print/open), the download link works great but not the 2 other links.
when I use the absolute path and try to open the files from another pc (not the webserver where the website is hosted) it tries to look for it in the local computer and not the webserver.
Hope I clarified my problem.

Thanks again.
Moony
Replied 26 Dec 2005 15:08:56
26 Dec 2005 15:08:56 moony marwane replied:
This is the code that worked for me :

support.microsoft.com/kb/276488/en-us

Thanks again.

Moony.

Reply to this topic