Why not just something like

repeat for each line L in tFilePathNames

    put url ("binfile:" & L) into tmp

    put base64encode(tmp) after tWhatever

end repeat

Alex.

On 02/02/2025 19:14, jbv via use-livecode wrote:
Hi list,

I need to base64encode a serie of jpeg files to include
the code in a curl request.
What is the best way to do that ?
Do I need to import each file into an image control and
base64encode the "text" of the image ?

Thank you,
jbv

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to