I'm sure this has been talked about before, but I can't seem to put
my finger on the answer.
I need to download via ftp (via RunRev code) a Mac Rev app off our
remote server (a Mac Mini server) as part of an automatic file
updating process when our Rev application starts up. What's the best
Richard,
never transfer MacOS files thru ftp without putting them on a safe
container. Best way to transfer your application is by using a zip file. Zip
the application bundle and use RevZip functions to extract it later. This is
actually how Revolution own updater works I think.
Andre
On 8/25/07
OR...
you could host just the main stack on a server which could be updated by FTP
and make a 'splash screen' standalone to launch it. The stack can
be directly loaded from the server. Since it all goes to memory, the
functionality won't suffer at all.
Richard,
never transfer MacOS file
Thanks Andre.
I ended up transferring each individual piece of the OSX app from the
server, after creating all the folders that comprise the app in
advance. Didn't have to compress anything prior to transfer. Takes a
bit of programming to create each folder and transfer each piece, but
it
Richard,
be aware that you may lose information this way. There are hidden files
inside the bundles and also resource forks on the files. You can't guarantee
resource fork integrity when the file is travelling around the net.
I still advise to zip or stuffit the bundle.
Andre
On 8/26/07, Richard