Hi,
I have an mp4 file I need to link to from my website. I have uploaded it to my webhosts server using FTP and added the link to my webpage. But when I click on the image/link, I get a page that says “the page cannot be found”. I’ve tried a number of things with no success. Can anyone tell me why this is happening? This file was provided by the client. I am unable to change it’s format in any way. I can run it on my computer from the folder it is in, so I know it works. I just can’t seem to get it to work on the webpage.
Check the path and filename match exactly. Are you sure the file is not in any sub-folder?
It may be better to embed the video, as a direct link to the file may result in a download, not playout.
I originally had it in a folder named “video” but since that didn’t seem to work, I tried putting it in the root folder with the webpage files. That didn’t work either. I haven’t tried embedding it as it seems like a large file, but I will try it.
I am looking at my server using Filezilla and the mp4 file appears in both the “video” folder and the “root” folder (the same place the index.asp file is that the video is on, I believe that is considered the root folder). I removed the spaces from the mp4 file name thinking maybe that was causing problems. Still nothing. But the mp4 file appears in both folders on my server when I look at it thru Filezilla. Ugh…
If it is certain the file is there, named the same, and there isn’t a cached page being used, the only other thing I can think of is inadequate permission values.
I’ve taken a screen shot of my filezilla window showing the two files. But I can’t figure out how to insert the picture into this post. Any suggestions?
You should create MIME types to help clients handle new file name extensions appropriately. If IIS 7 does not recognize the file name extension requested by the client, IIS 7 sends the content as the default MIME type, which is Application. This MIME type signifies that the file contains application data, and usually means that clients cannot process the file.
is that it would give an error message other than
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)
But maybe not.
In any case, making sure the MIME type is there (and supported) is a good idea.