Encoding Arrays with File Paths
Monte Goulding
monte.goulding at livecode.com
Wed Feb 19 21:02:41 EST 2025
> On 20 Feb 2025, at 12:17 PM, Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> I have narrowed down the issue to the fact that the array I am trying to arrayDecode has a lot of data in the [n] [“data”] key. Without that data, the array decodes file. With it I get an error. I even tried base64encoding it first before putting it in the array key, but that does not seem to help. I may be running up on some kind of limit to array keys. Small UTF8 text files transfer no problem. Large binary files, BIG problem. (And yes I am using open file <filename> for binary read.)
>
> If I do not put the data in an array key, but rather send the data by itself, then it decrypts successfully on the other end, so I think what I am going to have to do is send the array first without file data, then recursively send each file after encrypting and base64encoding.
It sounds like it’s time for a bug report Bob. If you can create a stack that demonstrates the issue it would be good to get it resolved.
Cheers
Monte
More information about the use-livecode
mailing list