Results 1 to 4 of 4
Discuss [MobileSafari] Getting it to *run* .exe files (not download) at the Free Toolchain Software (Cydia App's) - Hackint0sh.org; Hello, I am running a jailbreaked and unlocked iPhone on 1.1.1 (04.01.13_G) and I've been ...
  1. #1
    Newbie Array

    Join Date
    Oct 2007
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Question [MobileSafari] Getting it to *run* .exe files (not download)

    Hello,

    I am running a jailbreaked and unlocked iPhone on 1.1.1 (04.01.13_G) and I've been trying to get my company webmail running on my iPhone through MobileSafari.

    Through Term-vt1100 I manage to SSH to our server and portforward localhost sucessfully. This enables me to log on to our system from MobileSafari.
    However, I haven't been able to get pass the next obstacle. Our mail system is built like:

    Code:
    http://localhost:5555/cgi-bin/xyz.exe?type=emaillist&fromdateyear=2007&fromdatemonth=12&fromdateday=8&todateyear=2008&todatemonth=1
    &todateday=13&typenumber=6&pmailbox=John_Doe
    I assume that our system calls an exe file that processes data according to the attached parameters. In Firefox, Safari, IE this works smoothly on a PC or Mac (when I am logged in, otherwise it incorrectly tries to download the .exe file). But when using the iPhone I get an error message from MobileSafari, since it does not support .exe files.

    Is there anyway to "disable" that .exe block and just have the browser treat it as a regular html file? It's just a guess, but I assume since MobileSafari is a port of Safari, it should be able to handle this without worries, and that that .exe block is just in place since the iPhone can't execute those files, and as a safeguard for malicious file downloading.

    Any help is appreciated. Searching the forums, this thread covers .exe downloading, but that won't help me either.

    Thanks.
    Floffelos



  2. #2
    Professional Array

    Join Date
    Dec 2007
    Posts
    81
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    11

    Default

    Hmm...good question. I imagine this could be handled by doing a plugin...I currently don't know how to do one, but other people supposedly do, and if they would share their knowledge publicly, I perhaps could throw something together. Perhaps one could make a plugin for exe filetypes that links back to MobileSafari itself and shows it as an HTML...
    Or perhaps there is a configuration list on the iPhone that contains the cgi filetypes that output HTML...
    Perhaps a good search would be "Setting MobileSafari MIME types"

    If not, maybe somebody has a workaround that will allow you to view a HTML which somehow accesses the exe-created page for you.
    JLA

  3. #3
    Senior Professional Array

    Join Date
    Jul 2007
    Posts
    445
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    30

    Default

    just to make sure, you dont have any plugins right? Just a possible explanation would be you have some plugin that is trying to download the content.... You wouldnt actually be able to downloed the EXE file, as your server isnt passing that on to the browser, but for some reason safari isnt respecting the mime type your server is feeding...

  4. #4
    Newbie Array

    Join Date
    Oct 2007
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Thanks for your replies!

    Quote Originally Posted by RVN84 View Post
    just to make sure, you dont have any plugins right?
    No, I don't.

    Quote Originally Posted by RVN84 View Post
    You wouldnt actually be able to downloed the EXE file, as your server isnt passing that on to the browser, but for some reason safari isnt respecting the mime type your server is feeding...
    Exactly. It seems as though Safari gives me the 'unsupported file format' pop-up as soon as the URL contains '.exe'. Any ideas on how to circumvent this?

 

 

Similar Threads

  1. [MobileSafari] File Download plug-in
    By hachu in forum Free Toolchain Software (Cydia App's)
    Replies: 467
    Last Post: 11-06-2012, 03:13 AM
  2. [Request] Disable image download MobileSafari
    By macteo in forum iPhone Developer Exchange
    Replies: 0
    Last Post: 08-24-2008, 03:17 PM
  3. [MobileSafari] my way to see local files on iPhone
    By cousincocaine in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 06-17-2008, 05:59 PM
  4. [MobileSafari] wont let me download the installer app
    By wleland in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 04-14-2008, 05:22 AM
  5. [MobileSafari] Flash - How To Download and Watch Flash in MobileSafari
    By vandy1997 in forum Free Toolchain Software (Cydia App's)
    Replies: 11
    Last Post: 03-16-2008, 05:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 09:21 AM.
twitter, follow us!