Working with Base64 and Mac files

Matt Denton matt.denton at
Sun Aug 18 06:36:00 EDT 2002

Dear Richard,

Thanks for your reply, I've been away for a while and just found your 
response!  I had a look at this function before hitting the list but the 
documentation seemed to indicate that only the Resource fork was used in 
the get or put, so I was looking for a combined Resource and Data fork 
operation.  Seems by your comment that resfile is the keyword for me!  
I'll test it tomorrow morning, many many thanks,

Matt Denton

>  Richard Gaskin writes:
> This will get the resource fork data:
>   put url ("resfile:"&tLocalFilePath) into tResDataVar
> This will restore it to a file:
>   put tResDataVar into url ("resfile:"& tLocalFilePath)
> The compress and uncompress functions are great.  In my tests here gzip
> seems quite efficient:  on text it often reduces the data size to about 
> 30%
> of the original.

More information about the Use-livecode mailing list