Hi Daniel,
So it's roughly half of the max size of VFP memory variable (which is 16MB-32bytes).
>I haven't used this approach for large files. Just did some quick testing and it seems that the limit is about 8MB. After that the function StrToHex() returns a "String too long" error.
>
>For larger files, Vlad's workaround seems to work fine.
>
--sb--