Subject | Get BlobField > 1MB |
---|---|
Author | superkatchina |
Post date | 2005-01-12T09:24:38Z |
Hallo
Writing of a TBlobField is ok, but now I have the problem, that the
data out of the blob is truncated if the size is > 1MB.
I tried this:
// truncates data after 1M ***
TBlobField(Query.FieldByName('ZIP_BLOB')).SaveToFile(name + '.zip');
+ and +
fileStream := TFileStream.Create(name + '.zip', fmCreate);
TBlobField(Query.FieldByName('ZIP_BLOB')).SaveToStream(fileStream);
///
the 'Blob Size' and 'Blobs to cache' stands on 4000
How can I fetch a file < 1MB?
Thank you,
Werner Hofmann
Writing of a TBlobField is ok, but now I have the problem, that the
data out of the blob is truncated if the size is > 1MB.
I tried this:
// truncates data after 1M ***
TBlobField(Query.FieldByName('ZIP_BLOB')).SaveToFile(name + '.zip');
+ and +
fileStream := TFileStream.Create(name + '.zip', fmCreate);
TBlobField(Query.FieldByName('ZIP_BLOB')).SaveToStream(fileStream);
///
the 'Blob Size' and 'Blobs to cache' stands on 4000
How can I fetch a file < 1MB?
Thank you,
Werner Hofmann