Discuss [MobileSafari] File Download plug-in at the Free Toolchain Software - Hackint0sh.org; No, I'm under Windows. I didn't touch the Info.plist at all. Should I change something ...
-
No, I'm under Windows. I didn't touch the Info.plist at all. Should I change something here before use? I thought it's ready for use at least for zip file types.
Last edited by alk; 12-03-2007 at 09:51 PM.
-
-
for those who want to download some ".rar"-files
<key>application/x-rar-compressed</key>
<dict>
<key>WebPluginExtensions</key>
<array>
<string>rar</string>
</array>
<key>WebPluginTypeDescription</key>
<string>rar File</string>
<key>WebPluginTypeEnabled</key>
<true/>
</dict>
oh...forgot to say: tested...works :-)
-
-
alk: One of the other things I did after it initially did not work, was to re-download it, then it worked.
-
can someone kindly post the code of .dmg files .... (Apple image files)
Thanks
-
-
-
well there are some file-types which are harder to implemet :-(
I tried to implement .dmg, .exe:
with the following commands:
- dmg:
application/applefile
application/x-dmlco
application/octet-stream
application/octet-stream .dmg
application/octet-stream dmg
- exe:
application/octet-stream exe EXE
application/exe
application/exe exe
didn't work
but wanted to let you guys know
perhaps has someone better ideas
-
-
I managed to make it work but only with tar extension.
I didn't change Info.plist file but just chaged file extension in target directory on web-server. As soon as rename my test.zip to test.tar and send the request to get /test.tar the plug-in shows me the green button Download, I click and get the file. I rename back to test.zip and send the new request but Safari gives me an error "Safari can't download this file"
I even added the rar section (published above) to Info.plist but still got the same result.
rar doesn't work but after renaming to tar I can download the file.
Last edited by alk; 12-03-2007 at 11:26 PM.
-
hmm... worked for me but I don't know if those MIME-types are different on some servers
-
-
for ".torrent" downloading (don't ask me what for :-/ unfortunately there is no torrent client for the iPhone yet)
tested it on www.eztv.it
<key>application/x-bittorrent</key>
<dict>
<key>WebPluginExtensions</key>
<array>
<string>torrent</string>
</array>
<key>WebPluginTypeDescription</key>
<string>torrent File</string>
<key>WebPluginTypeEnabled</key>
<true/>
</dict>
-
I don't know for sure on Mac OS X, but on Linux, there is a file /etc/mime.types giving all what you are looking for in this thread... Now, what do you do when you have downloaded a file (some .avi file for example), is-it just to use the iPhone as a USB key ?
By the way, we implemented a Safari Plugin too in MNPlight 2.15 (that's the cool thing to do these days ;-) ), it only keeps the link, and when after that, you use MNPlight, you can either decide to download and save the linked file, or cancel the download (to avoid unwanted links). In MNPlight Preferences, we have a simple interface to add new download types (you need to set expertise to 1 and know about mime-types). If you are interested, switch to the MNPlight thread, to avoid polluting this one.
- Treb
-
Similar Threads
-
By jowo in forum iPhone Developer Exchange
Replies: 9
Last Post: 04-22-2008, 07:59 AM
-
By pdieguez_br in forum Free Toolchain Software
Replies: 1
Last Post: 04-14-2008, 11:21 AM
-
By 55ting55 in forum Free Toolchain Software
Replies: 8
Last Post: 03-27-2008, 01:04 AM
-
By vandy1997 in forum Free Toolchain Software
Replies: 11
Last Post: 03-16-2008, 06:12 AM
-
By hachu in forum Free Toolchain Software
Replies: 0
Last Post: 01-17-2008, 03:55 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks