Problem linking pdf files

This is a discussion on "Problem linking pdf files" within the Web Page Design section. This forum, and the thread "Problem linking pdf files are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Closed Thread
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 9th, 2006, 02:38
Junior Member
Join Date: Jun 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Problem linking pdf files

Hi,
I am trying to link pdf files that I created and have saved in my website files. They uploaded to the server, and show the same amount of MB as in my local files, but the server side does not show the pdf icon.

I use Dreamweaver. When I preview my webpage in IE or Firefox, the pdfs open immediately. when I try to open them online, I get error message 404 - File not found.

Any ideas as to what I am doing wrong?

My code is as follows:

<tr>
<td><font color="#330066" size="2" face="Georgia, Times New Roman, Times, serif"><strong><a href="../Supplement%20info/pdf%20files/D-Hist.pdf">D-Hist™</a></strong></font></td>
</tr>
<tr>
<td><font color="#330066" size="2" face="Georgia, Times New Roman, Times, serif"><strong><a href="../Supplement%20info/pdf%20files/Diaxinol.pdf">Diaxinol</a></strong></font></td>
</tr>


Thanks for your help.
Linda

  #2 (permalink)  
Old Jun 9th, 2006, 03:47
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herkalees Send a message via MSN to herkalees Send a message via Yahoo to herkalees
Re: Problem linking pdf files

Link us to your site please.
  #3 (permalink)  
Old Jun 9th, 2006, 03:53
Junior Member
Join Date: Jun 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem linking pdf files

http://www.reshc.com/HTMLpages/RHC%2...pplements.html
  #4 (permalink)  
Old Jun 9th, 2006, 03:55
Junior Member
Join Date: Jun 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem linking pdf files

Sorry - one more note: The files I am trying to link are D-Hist and Diazinol. the others link to manufacturer's websites. D-Hist and Diazinol were created by me, optimized for web.
  #5 (permalink)  
Old Jun 9th, 2006, 04:10
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to herkalees Send a message via MSN to herkalees Send a message via Yahoo to herkalees
Re: Problem linking pdf files

After a bit of digging, I cannot really see what the culprit is without having ftp access...

...and that is something I'd never give out on the internet.

Just keep double-checking your links and file directories, ensuring they all match.
  #6 (permalink)  
Old Jun 9th, 2006, 12:11
minute44's Avatar
Moderator
Join Date: Apr 2006
Location: Nottingham UK
Age: 24
Posts: 1,347
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to minute44
Re: Problem linking pdf files

As I found out the hard way... some servers are case sensetive.

It may look ok in DW but when your web page requests PaGe1.pdf and the file is called page1.pdf it will say file not found.

Check your spellings and case.

I bet that this is the problem.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
  #7 (permalink)  
Old Jun 9th, 2006, 13:42
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jpmitchell Send a message via Skype™ to jpmitchell
Re: Problem linking pdf files

It appears that it is fixed.

As an fyi to anyone reading this either from a search or while browsing, it is very important that your links are spelled and capitalized exactly how the file is. Unlike a domain name where capitals really don't matter - files, links, and downloads MUST be that way.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
  #8 (permalink)  
Old Jun 9th, 2006, 13:44
Junior Member
Join Date: Jun 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem linking pdf files

I've rechecked and rechecked - just can't figure it out. The pdf file can be just that, right? It doesn't have to be written in code or something? What doesn't make sense is that when I preview in DW, it pops right up in the browser. As far as checking spelling - I use the Properties window, the "Browse for File" option, and just point to the file. Usually I leave "Target" blank - do I need to choose an option for that? Thanks for trying to help, anyway.
  #9 (permalink)  
Old Jun 9th, 2006, 13:53
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jpmitchell Send a message via Skype™ to jpmitchell
Re: Problem linking pdf files

Ahh those ones are not working. I know your problem. You should not have spaces in your folder or file names.

So if you update your directories to be this: http://www.reshc.com/supplement_info...les/d-hist.pdf it will work. Just replace the %20 with an _ (underscore). You will be set.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
  #10 (permalink)  
Old Jun 9th, 2006, 14:24
Junior Member
Join Date: Jun 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem linking pdf files

I did it - it still doesn't work. Renamed files - no spaces. Re-linked everything. Deleted old files with wrong names. Uploaded every file with new names. Refreshed the browser. Tried different browsers.

It still works in DW - Preview with Firefox, IE

I know this is something very small, right in front of my face.
  #11 (permalink)  
Old Jun 9th, 2006, 14:37
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jpmitchell Send a message via Skype™ to jpmitchell
Re: Problem linking pdf files

no you did not rename the folders the files are stored in. You need to remove the spaces from the folders containing the files. Your filenames are fine. Its the "supplement info" and "pdf files". You need to remove or replace the space there and your problem will be solved.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
  #12 (permalink)  
Old Jun 9th, 2006, 14:47
Junior Member
Join Date: Jun 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem linking pdf files

I did, really. "a href="../supplementinfo/pdf_files/optimized/odhist.pdf" is what my file reads. And when I open the file from the server, it also reads that way.
I went online and looked at the source code there, and the changes do not show - I see what you are looking at. I made the changes, uploaded to server, refreshed browser - is there something I am missing?
  #13 (permalink)  
Old Jun 9th, 2006, 14:50
Junior Member
Join Date: Jun 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem linking pdf files

One other thing I noticed - If I try to open the pdf files from the server, it tells me "can't find a valid editor for this file extention" (it is .pdf). They open fine from local files.

( I so appreciate your time and patience)
  #14 (permalink)  
Old Jun 9th, 2006, 14:57
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jpmitchell Send a message via Skype™ to jpmitchell
Re: Problem linking pdf files

Can you give me where the file is located. I tried (http://www.reshc.com/supplementinfo/...les/d-hist.pdf) and (http://www.reshc.com/supplementinfo/...zed/odhist.pdf) and the error I get tells me that the file isnt at those locations or there is spelling issues, or etc.

As far as it not looking the way it does online. It may be a host issue, so I'll check back later to see if its fixed.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
  #15 (permalink)  
Old Jun 10th, 2006, 00:29
Reputable Member
Join Date: Jul 2005
Location: Indiana, USA
Age: 29
Posts: 153
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jpmitchell Send a message via Skype™ to jpmitchell
Re: Problem linking pdf files

Any updates? I see they still dont work.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
  #16 (permalink)  
Old Jun 10th, 2006, 13:55
Junior Member
Join Date: Jun 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem linking pdf files

No, I've had to put it aside to get other things done. I'm going to start fresh, possibly take some of the site down, and start over, meticulously. It seems that it must be a small coding error, not something about pdf that I am not understanding, so I'll start over with that section. Thanks for your attention to this problem! I'll post if I figure it out.
  #17 (permalink)  
Old Jun 10th, 2006, 19:11
Junior Member
Join Date: Jun 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Problem linking pdf files

Problem solved! I'm not sure that I had to re-do everything I did - I suspect it may have been a server issue all along - I had to clear my cache from every browser - refreshing and reloading was not working. But on the bright side, I have some nice clean, re-organized files . . . Thanks again, JP, for your time & trouble.
  #18 (permalink)  
Old Jun 10th, 2006, 22:36
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: Problem linking pdf files

Thread closed.
Closed Thread

Tags
problem, linking, pdf, files

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Deleting Files 2jdesign Hosting & Domains 2 Sep 19th, 2007 22:18
problem of deploy the files begeiste ASP.NET Forum 0 Aug 22nd, 2007 22:07
asfunction problem with linking image Buffcode18 Flash & Multimedia Forum 1 Aug 22nd, 2006 01:13
linking with php Money_Mike$$ PHP Forum 1 Jan 28th, 2006 07:43
Linking Help! nMike Web Page Design 1 Aug 26th, 2003 17:16


All times are GMT. The time now is 04:06.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43