You are not logged in.
Pages: 1
Hello guys,
I have few questions...
How can i save a file on db as blob?
How can i retrieve this file ?
THANKS FOR HELP!
SEE YOU SOON.
Offline
You have blob-related methods for the ORM.
But they use RawByteString so are limited to the memory.
They are meant for small content - up to a few MB, not huge files.
For big files, a direct storage in a local folder is better, from our experiment.
Offline
first: what cause the blob based on rawbytestring hava a limit of a few MB?
second:exactly how many MB?
thanks
Offline
1) because it is pasted in memory, and because huge content is likely to be not needed in most cases, and subject to DoS attacks.
2) so it depends, first limitation is at HTTP server level: there is a MaxPayload parameter.
Offline
Pages: 1