<div dir="ltr">Hello All!<div><br></div><div>I've been looking for a way to prevent Flask/Request/FileStorage from saving uploaded files on the disk and instead digest them with my own code.</div><div><br></div><div>Most (all?) results from Google simply tell to just do file.read(), but that still results in a file saved in a temp directory and read from the disk. I'm trying to avoid that, because the uploaded file needs to actually be passed on to an underlying storage (LI Ambry), and can be hundreds of gigabytes in size. It's not viable to store the file first and then pass it on to the final storage service :(</div><div><br></div><div>I see that both Request and FileStorage classes can accept a "shallow" parameter, but there's virtually no information on what it actually does, or how to use it :(</div><div><br></div><div>Any help or suggestions would be greatly appreciated!<br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>D.</div></div></div></div></div>
</div></div>