Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Sat Nov 17, 2018 10:14 am
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: MIME Type
PostPosted: Wed Feb 13, 2013 4:02 pm 
Offline
User avatar

Joined: Mon Nov 29, 2010 7:01 pm
Posts: 446
I have the user downloading files and sometimes I just want them to open in the browser,
but even though I set ForceDownload to false and the MIMEType, it doesn't always work.


if file.Filename.right(4) = ".jpg" then
file.MIMEType = "image"
end


Do I need to give the subtype too? Is there a way to have REALStudio provide the MIMEtype based on the extension so I can have all pictures and pdf's opened by the browser?

Can I make it open in a new window instead of taking over the application?


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group