Encoding Arrays with File Paths
Bob Sneidar
bobsneidar at iotecdigital.com
Wed Feb 26 11:10:03 EST 2025
I was having issues sending the encrypted data raw, but that may actually have been the issue I am now encountering, with the timing. I’ll try without base64encoding.
Bob S
On Feb 25, 2025, at 5:07 PM, Alex Tweedly via use-livecode <use-livecode at lists.runrev.com> wrote:
Because I am encrypting the file data before sending, I have to base64encode the data before sending over the wire,
Um, no.
unless someone has a better suggestion for how to format the data in an internet friendly way.
There's no need. You're sending over a TCP socket, not HTTP - so there's no need for an "internet friendly" encoding - you can send arbitrary binary data (since you have effectively length+data - even if the length is sent separately). No need for base64encode or anything like that.
More information about the use-livecode
mailing list