Forums / Developer / How to import a file?
Massimiliano Bariola
Wednesday 10 May 2006 8:48:38 am
Hi,
has anyone tried to import a binary file?
I am trying to create objects which have a "file" attribute, which will hold some pdfs. I am unable to understand how to use the functions in ezbinaryfile.php and ezbinaryfiletype.php to obtain this.
Xavier Dutoit
Wednesday 10 May 2006 9:22:35 am
Have a look at the contribs (the multiple file upload for instance). in import/export. This might give you an idea.
Keep us informed.
X+
http://www.sydesy.com
Thursday 11 May 2006 9:47:30 am
Hi Xavier,
I found some code on the forum, but didn't work out-of-the-box - after a few hours I was able to tweak it to my needs.
thanks,
Massimiliano
Daniel Scheiner
Monday 14 August 2006 4:54:54 am
Hi Massimiliano!
Could you share that code?Thanks!