Page 1 of 1

store a file in a BLOB / LONGBLOB(MySQL)

Posted: Fri Jan 29, 2016 11:29 pm
by jlspereira
Hi

I am implementing a database application in livecode and I need to sore, in the database, som "special" files that are later to be retrieved to be either downloaded of, in some case, viewed.
The files, themselves will be in standard formats, mostly images / PDF / MP3 / videos (short ones).

how do I do it?

kind regards for all help

Re: store a file in a BLOB / LONGBLOB(MySQL)

Posted: Tue Feb 02, 2016 4:59 pm
by MaxV
BLOB is the right format, see the second part of this page for working with binaries: http://livecode.wikia.com/wiki/SQLite