Dev Shed Lounge
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherDev Shed Lounge

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old November 12th, 2001, 09:58 AM
valeria_vi valeria_vi is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Chicago, IL
Posts: 63 valeria_vi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
self-extracting .sea file for a mac won't download

I take a file, drop it into Stuffit and set an option of "make self-axtracting for Macintosh". It creates a .sea file. I published that file on a server, but when i type in the url and try to access the file, i get all those weird characters displayed in my browser, and the file itself is not being loaded onto my hard drive.
I have no idea what the problem can be. I did the same thing for PC and had no problems there (got a .exe file as a result of compression).
Anyone know how to make a self-extracting file for a MAC to download onto the user's machine???
Thanks

Reply With Quote
  #2  
Old November 12th, 2001, 05:03 PM
ZeUs's Avatar
ZeUs ZeUs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: St. George, Utah
Posts: 63 ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level)ZeUs User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 31
Exclamation Encode!

Putting a self-extracting Stuffit file on the a server unencoded is not a good idea. It just won't work.

The Mac OS uses a filesystem called HFS. This filesystem stores files as two "forks," a "data" fork and a "resource" fork. (The HFS+ filesystem on newer Macs actually supports more than two forks, but this capability is not used by the OS.)

This dual-fork nature of the files stored and created on Macs has some advantages. Application data - the actual program, is stored in the data fork, while UI and icons are stored in the resource fork, thus keeping the program with it's resources, for instance.

It also has disadvantages. When a file with a resource fork is moved from a HFS filesystem to a filesystem that doesn't do forks, like ext2 on Linux, the resource fork is stripped out of the file. In the case of an application (like a self-extracting Stuffit file) this causes the application not to work anymore.

The way around this problem is to encode the file. This encodes the resource fork and places it into the data fork, thus making it safe to transfer the file. The two most common types of encoding are MacBinary and BinHex. Most Mac internet apps know how to decode both of these, Internet Explorer being the most important in this case.

If you have Stuffit Deluxe, you can use it to do either of these encodings, or if you are using DropStuff, there is an option in the preferences to "Encode archive into BinHex format."

Encode your file and all should be well.
__________________
Lucas Marshall

Reply With Quote
  #3  
Old November 13th, 2001, 11:58 AM
valeria_vi valeria_vi is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Location: Chicago, IL
Posts: 63 valeria_vi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
THANKS

ZeUs,
thank you so very much for taking the time and giving me such a detailed explanation on the subject. I have never worked with MACs until I started my current job, so I do not know much about them at all.
"Encode archive into BinHex format" worked like a charm.
Thanks again.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherDev Shed Lounge > self-extracting .sea file for a mac won't download


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway