Handling binary data

Import variable only supports text, and importing binary data will result in it trying to decode the data into UTF-8, which doesn't work. My file library works in this case, returning the binary file, but it requires javascript. Is there a way to import binary files using snap variables?

Good question. I don't think so, but we should have that capability.

If you can convert your data into Base64, then it can be imported and decoded within Snap!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.