Free Web Hosting Forum
(#1 (permalink))
Old
Junior Member
DanielCh is on a distinguished road
 
Posts: 3
Join Date: Sep 2008
Default Power Point pps - 09-07-2008, 08:40 PM

Hello:

I have a web with links to "name.pps" files. The users download the files making: "Right click" and "Save file as..."
When I do this, the window dialog show the legend "name.ppt", and the file is downloaded with ".ppt" extension.

I know that changing the file extension in the dialog window, I can download the properly extension. But I need that my users open the dialog window with the extension ".pps".

I was reading that this is not an easy problem to resolve, as you can see here:
http://support.microsoft.com/default...;EN-US;Q326736

I supose the problem is not with my PC MSOffice configuration, because I have another web with no problem.
Can anybody help me?

Thanks.
Daniel
Reply With Quote
(#2 (permalink))
Old
Bad Karma[CORE]'s Avatar
Senior Member
Bad Karma[CORE] is on a distinguished road
 
Posts: 591
Join Date: May 2008
Send a message via ICQ to Bad Karma[CORE] Send a message via AIM to Bad Karma[CORE] Send a message via MSN to Bad Karma[CORE] Send a message via Yahoo to Bad Karma[CORE] Send a message via Skype™ to Bad Karma[CORE]
Default 09-07-2008, 08:53 PM

can you provide a link to an actual download ?

The MS Knowledgebase Link is useless, as 000webhost.com for sure doesn´t run IIS as webserver.

The problem could be solved by adding the MIME type for .pps in a .htaccess file


(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Free Domains
5 Bucks Script Installation Services
Free Web Hosting
Layer-Ads - Das Werbenetzwerk von morgen

Last edited by Bad Karma[CORE] : 09-07-2008 at 08:58 PM.
Reply With Quote
(#3 (permalink))
Old
Junior Member
DanielCh is on a distinguished road
 
Posts: 3
Join Date: Sep 2008
Default 09-07-2008, 10:47 PM

Thanks for your answer.

Here is the web:
http://danielchuri.site40.net/

Try clicking the link with the text
"Próxima Centauri, la estrella más cercana al Sistema Solar"
(actually the only available file, the others weren't uploaded yet)

I don't know how to add the MIME or what's an .htaccess file. I make the html files using MS Word, and saving as web page. Then, I use the simple File Manager the server provides.

Thanks again for your response.
Daniel
Reply With Quote
(#4 (permalink))
Old
Bad Karma[CORE]'s Avatar
Senior Member
Bad Karma[CORE] is on a distinguished road
 
Posts: 591
Join Date: May 2008
Send a message via ICQ to Bad Karma[CORE] Send a message via AIM to Bad Karma[CORE] Send a message via MSN to Bad Karma[CORE] Send a message via Yahoo to Bad Karma[CORE] Send a message via Skype™ to Bad Karma[CORE]
Default 09-07-2008, 10:54 PM

i don´t see any problem there, downloaded your file twice.
First time by using right-click and "Save target as", second time by just clicking the link.
Both times saved as .pps, which is the way you want it.

The above is valid for people using Firefox. Your problem only exists for users using Microsofts Internet Exploder (yes, the type is on purpose).

create a .htaccess file in the directory where the download files are stored and in your root directory with the following content:
PHP Code:
# PPS
AddType application/vnd.ms-powerpoint .pps 
If you have a .htaccess file already just append this code


(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Free Domains
5 Bucks Script Installation Services
Free Web Hosting
Layer-Ads - Das Werbenetzwerk von morgen
Reply With Quote
(#5 (permalink))
Old
Junior Member
DanielCh is on a distinguished road
 
Posts: 3
Join Date: Sep 2008
Default 09-08-2008, 08:26 PM

Yes, I know the Internet "Exploder" is a problem itself. But this is the more common software my users run.
Thanks again for your answer.

Unfortunately, my problem is still there.
I save a .htaccess file in every directory and in the root. And also only in the root, or only in every directory.
Even I have no experience in making .htaccess files, I think I did it in the correct way. I wrote the text you gave me in a .txt file, and then I changed the extension to .htaccess. It is, I maked a file with no name and only extension, with the form: ".htaccess". ¿Is it correct?

I tried deleting one point in the content (pps and not .pps), and changing other parts of the content (ms-pps and not ms-powerpoint). It seems there's no way to make it work.

Is it possible the server ignores .htaccess files?
Any suggestion to help me?

Thanks to everyone who read it, and of course, thanks to Bad Karma for focusing the attention on me.

Last edited by DanielCh : 09-08-2008 at 08:29 PM.
Reply With Quote
(#6 (permalink))
Old
Bad Karma[CORE]'s Avatar
Senior Member
Bad Karma[CORE] is on a distinguished road
 
Posts: 591
Join Date: May 2008
Send a message via ICQ to Bad Karma[CORE] Send a message via AIM to Bad Karma[CORE] Send a message via MSN to Bad Karma[CORE] Send a message via Yahoo to Bad Karma[CORE] Send a message via Skype™ to Bad Karma[CORE]
Default 09-08-2008, 08:30 PM

it is possible that servers ignore .htaccess, but here at 000webhost.com .htaccess is parsed, so that is not likely to be the problem.

I will check if i can replicate that on my sandbox and see if there is another workaround to get IE downloading files with proper extensions


(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Free Domains
5 Bucks Script Installation Services
Free Web Hosting
Layer-Ads - Das Werbenetzwerk von morgen
Reply With Quote
(#7 (permalink))
Old
Bad Karma[CORE]'s Avatar
Senior Member
Bad Karma[CORE] is on a distinguished road
 
Posts: 591
Join Date: May 2008
Send a message via ICQ to Bad Karma[CORE] Send a message via AIM to Bad Karma[CORE] Send a message via MSN to Bad Karma[CORE] Send a message via Yahoo to Bad Karma[CORE] Send a message via Skype™ to Bad Karma[CORE]
Default 09-08-2008, 08:51 PM

weird.

Just tested it on my local webserver and IE 7, works just fine here my end, so the problem lies with 000webhost.com´s server setup. I attached a screenshot of the download window in IE, which clearly shows that the file extension is parsed correctly.

Didn´t even have to create a .htaccess file. I love properly configured servers
Attached Images
File Type: jpg snap253.jpg (19.1 KB, 2 views)


(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Free Domains
5 Bucks Script Installation Services
Free Web Hosting
Layer-Ads - Das Werbenetzwerk von morgen
Reply With Quote
Reply


Thread Tools
Display Modes

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

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



Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0
vBulletin Skin developed by: vBStyles.com