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.
|
|
|
|
|
![]() |
||
Problem linking pdf files
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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
|
||||
|
||||
|
Re: Problem linking pdf files
Link us to your site please.
|
|
#3
|
|||
|
|||
|
Re: Problem linking pdf files
|
|
#4
|
|||
|
|||
|
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
|
||||
|
||||
|
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
|
||||
|
||||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
Re: Problem linking pdf files
Any updates? I see they still dont work.
Last Blog Entry: Whats in a name? (Feb 20th, 2008)
|
|
#16
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
Re: Problem linking pdf files
Thread closed.
|
![]() |
| Tags |
| problem, linking, pdf, files |
| Thread Tools | |
|
|
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 |