Making binary files question
Ivo,
It should be noted though that using MvEXPORT in that manner
still results in a line feed character being added to the end of
the binary file. So technically it isn't a way to output a truly
accurate binary version of the file contents.
- Jeff Huber
President, 4TheBest eCommerce Solutions
http://4TheBest.com
[email protected]
Office: 760-742-1469
Cell: 760-445-8454
=20
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ivo Truxa
Sent: Tuesday, April 26, 2005 2:38 PM
To: 'Miva Users'
Subject: RE: [meu] Making binary files question
You do not need any external library at all. Plain old MvEXPORT
works just
fine for exporting any kind of data:
<MvEXPORT FILEfile" FIELDS=3D"l.null,l.null"
DELIMITER=3D"{binaryData}">
There is no limit for the binary data passed through the
delimiter.
As for importing - I would suggest updating to the newly released
v5 and
using the file_read() function.
Ivo
http://mivo.truxoft.com=20
-----Original Message-----
From: Scot Ranney
Thanks for the tip! I completely forgot James released that
thing-=20
looks like it will do what I'm looking for. (insert Burns
"excellent" here)
MvMarkus wrote:
> Hi Scot,
>=20
> (Copernicus) James released a pretty neat library for handling
binary
files.
> I don't know if they can help you (or if you did not already
use them),
but
> if not, you should definitely take a look at them. You can find
them at
the
> open source section of his website (
> <A HREF ="http://www.copernicusllc.com/products/source/)">http://www.copernicusllc.com/products/source/)</A>
>=20
> Markus=20
Ivo,
It should be noted though that using MvEXPORT in that manner
still results in a line feed character being added to the end of
the binary file. So technically it isn't a way to output a truly
accurate binary version of the file contents.
- Jeff Huber
President, 4TheBest eCommerce Solutions
http://4TheBest.com
[email protected]
Office: 760-742-1469
Cell: 760-445-8454
=20
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Ivo Truxa
Sent: Tuesday, April 26, 2005 2:38 PM
To: 'Miva Users'
Subject: RE: [meu] Making binary files question
You do not need any external library at all. Plain old MvEXPORT
works just
fine for exporting any kind of data:
<MvEXPORT FILEfile" FIELDS=3D"l.null,l.null"
DELIMITER=3D"{binaryData}">
There is no limit for the binary data passed through the
delimiter.
As for importing - I would suggest updating to the newly released
v5 and
using the file_read() function.
Ivo
http://mivo.truxoft.com=20
-----Original Message-----
From: Scot Ranney
Thanks for the tip! I completely forgot James released that
thing-=20
looks like it will do what I'm looking for. (insert Burns
"excellent" here)
MvMarkus wrote:
> Hi Scot,
>=20
> (Copernicus) James released a pretty neat library for handling
binary
files.
> I don't know if they can help you (or if you did not already
use them),
but
> if not, you should definitely take a look at them. You can find
them at
the
> open source section of his website (
> <A HREF ="http://www.copernicusllc.com/products/source/)">http://www.copernicusllc.com/products/source/)</A>
>=20
> Markus=20
Comment