ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Web Related  >>  HTML DHTML
 
 


 

 
 HTML DHTML interview questions  HTML DHTML Interview Questions
 XML XSLT RSS interview questions  XML XSLT RSS Interview Questions
 Flash Action Scripting interview questions  Flash Action Scripting Interview Questions
 SOAP interview questions  SOAP Interview Questions
 WML interview questions  WML Interview Questions
 Web Related AllOther interview questions  Web Related AllOther Interview Questions
Question
How do I force a download?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How do I force a download?
Answer
# 1
When someone downloads a document, the server tells the
browser what type of file it is. The browser then picks the
appropriate helper application, or displays it himself. If
the server doesn't know the file type, it tells the browser
that the file is "text/plain", or just plain text. You will
have to ask your server admin to configure this particular
file with the MIME type you want. 

"Forcing" a download is not what you are supposed to do.
After all, what is more convenient than having the proper
application started when I download a particular file?
Browsing through a download directory can be quite a pain.
And most browsers allow the user to download to disk if they
want to. 

If the file must be saved to disk, as there is absolutely NO
other way to handle it, the MIME type should be
"application/octet-stream".
 
Is This Answer Correct ?    0 Yes 0 No
Guest
 

 
 
 
Other HTML DHTML Interview Questions
 
  Question Asked @ Answers
 
Differences Between XML and HTML DELL2
How do I get a button which takes me to a new page?  1
Is there a way to get indexed better by the search engines?  1
What is HTML(Hypertext Markup Language)?  1
What is the use of XHTML Modularization?  1
Why is XHTML2 needed? Isn't XHTML 1 good enough?  1
Should I put quotes around attribute values or not?  1
How do I detect what browser is being used?  2
Should I use lower case or upper case for tags?  1
How do I know which keywords to enter in order to make site catchable?  1
How do I display the current date or time in my document?  1
Where can I go to verify my document uses correct markup?  1
How do I get my visitor's e-mail addresses?  1
What is the diffrence between HTML & DHTML...?  3
Difference between HTML and DHTML? Accenture5
What is the difference between the CLASS and ID when you are writting CSS? Virtusa2
How do I get a so-and-so character in my HTML?  1
What is the tag Code Base and why do we use it? Microsoft1
How can I make a custom rule, or a list with custom bullets?  1
Does Microsoft Internet Explorer accept the media type application/xhtml+xml?  1
 
For more HTML DHTML Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com