Another idea is to place the app into a disk image (a .dmg file) using Apple's Disk Utility.
Assuming you have OS X.3:
Open Disk Utility (in Applications/Utilities) and click the "New Image" button in the toolbar. Provide a location for the image, and specify the size you need (at least large enough to hold the application bundle), and encryption if desired, then make sure that read/write is specified as the disk image format. Save the image file. When the image has been created, Disk Utility will automatically mount the image as a disk, which you can simply copy the application to. The disk image (.dmg file) is a simple file, which should be easy to transmit across the internet. Double-clicking on the resulting file under an OS X system will then mount the image as a disk again, so that you can access the application inside. You could alternatively create a read-only disk image, even a compressed one, if you take the time to figure out how.
Maybe someone else knows how to mount a disk image using a shell() call or something similar?
On Nov 3, 2004, at 1:30, Andre Garzia wrote:
On Nov 3, 2004, at 1:45 AM, [EMAIL PROTECTED] wrote:
Can anyone tell me the preferred method for uploading and downloading Mac OS
X apps from http servers via Revolution?
Rob,
I don't know what you're trying to do, but, one way is to use stuffit to compress and libURL for the download/upload. StuffIt works great and preserves the MacOS resource forks. Another way, is to use gzip compression, you can script a stack to compress something using gzip and to upload/download the file to the server...
cheers andre
-- Andre Alves Garzia 2004 BRAZIL http://studio.soapdog.org
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
___________________________________________________________ $0 Web Hosting with up to 120MB web space, 1000 MB Transfer 10 Personalized POP and Web E-mail Accounts, and much more. Signup at www.doteasy.com
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
