473,662 Members | 2,666 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File extension when downloading

Hi.

My application has a page where users can click on some links to download
documents. When testing the page I noticed an strange behaviour. One of the
links points to a .pps file. When I click this link, the download window
shows me the file name with a .ppt extension instead of the original .pps
extension. I know both are Power Point files, but why IE changes the file
extension? Is it a normal behaviour?

TIA,
Erik Cruz
Nov 19 '05 #1
1 4070
Hi Erik,

This problem can occur because there is no registered Multipurpose Internet
Mail Extensions (MIME)
type for .pps files on either the IIS server or on the client computer.
Because PowerPoint SlideShow (*.pps)
files are associated with PowerPoint only by their file name extension, and
not a separate MIME type,
Microsoft Internet Explorer processes the file as a standard PowerPoint
(*.ppt) file. Therefore, you are
prompted with a .ppt extension when you save the file instead of a .pps
extension.

You can refer to the following Microsoft link for a workaround to get rid of
the problem

[PowerPoint Show (*.pps) file copies as a PowerPoint (.ppt) file from an IIS
Web server]
http://support.microsoft.com/default...;EN-US;Q326736

HTH

Mona
"Erik Cruz" <er************ ******@antares. com.br> wrote in message
news:uf******** ******@TK2MSFTN GP12.phx.gbl...
Hi.

My application has a page where users can click on some links to download
documents. When testing the page I noticed an strange behaviour. One of the links points to a .pps file. When I click this link, the download window
shows me the file name with a .ppt extension instead of the original .pps
extension. I know both are Power Point files, but why IE changes the file
extension? Is it a normal behaviour?

TIA,
Erik Cruz

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
7128
by: Andrew | last post by:
I am running a windows 2000 sv with IIS. My asp script creates a text file with an activation generated and put into the text file, so that the text file can be inported into a software program tha I created. This take away the maunuly typing in the code. Is thier an easy way to use asp to zip of the file and then the user can download the file? My other question is, is there a way to create a function in asp that can run when IE...
8
4849
by: perspicacious | last post by:
Please visit http://epaperpress.com/temp/t.html and click on the link. The link source indicates the filename is unix.tar.gz however, when downloading in ie6, it changes the name to unix.tar.tar What's going on?
7
3694
by: theyas | last post by:
How can I get my code to NOT display two "Open/Save/Cancel/More Info" dialog boxes when using the "Response.WriteFile" method to download a file to IE I've asked about this before and didn't get a satisfactory answer (check your browser) so now that I've had the time to set up a reasonable little test that I can post somewhere, I'll try again. The app I've written has three ASPX pages. One is a combined page which writes a little text...
5
5273
by: Baren | last post by:
Hi! I am using impersonate="true" to upload and download files from a network share. I have created common users on both the webserver and the file server. The user has permission to the files server folder. I am able to upload the files into the fileserver, but while downloading the same i am getting error "file doesn't exist" and the path it shows is localhost temporary internet files.
2
2769
by: Tomas Martinez | last post by:
Hi there! I'm trying to download a file in my asp.net web, but when downloading it from a Firefox browser, instead of downloading the example.exe file, it's downloading example.exe.htm. My code is the following: string localfile = MyComponent.DownloadMyExe(index); Response.ClearContent(); Response.ClearHeaders(); Response.ContentType="application/octet-stream";
1
6476
by: laredotornado | last post by:
Hi, I'm using PHP 4.4.4 on Apache 2 on Fedora Core 5. PHP was installed using Apache's apxs and the php library was installed to /usr/local/php. However, when I set my "error_reporting" setting to be "E_ALL", notices are still not getting reported. The perms on my file are 664, with owner root and group root. The php.ini file is located at /usr/local/lib/php/php.ini. Any ideas why the setting does not seem to be having an effect? ...
3
2719
by: Nayan | last post by:
Hi, I am trying to download a file from website, and to get the local file name form the user, I am using SaveFileDialog. I apply the filter (I parse the url to get the file name and assign) to the saveFileDialog object. But if my file already exists, it's not shown in the window. Has anybody ever experienced something this?
1
1296
by: rajanji | last post by:
Hi all , I am new to ASP.NET and need ur help for How to write the source code for downloading a file in ASP.NET 2005 using a combobox... i.e suppose i have five files in my website and i want to download any one of them ... so i will use combobox to select the filename to be downloaded and then click on the download button to download it.. so kindly provide me the source for downloading a selectedfile using combobox in ASP.NET 2005........
1
3530
by: shahidrasul | last post by:
i want to download a file which user select from gridview, downloading is completing without problem but after download i want to refresh my page because i do some changes in db . but when refresh.redirect() occure it give me error that can't redirect because headers have been sent following are my code to download file
0
8435
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8547
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4181
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4348
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2763
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1754
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.