i'm developing file management system using RadAsyncUpload with custom HttpHandler.
System is build with ASP.NET using .NET Framework version 4.6.1 and latest Telerik UI for ASP.NET Ajax.
Currently i'm using overridden Process-function in my HttpHandler to store the file in database. I have set DisableChunkUpload="true" and EnablePermissionsCheck="false" so it is not using temporary folder to buffer the file data. But it still buffers the data in memory (a guess) before calling Process-function.
Uploaded files can be large and there can be over 100 files uploading at once. So i wonder if there is a way to get the uploaded file's InputStream at beginning of the upload, so i can stream it directly to the database as it uploads. So whole file won't get buffered in WEB server at any point. As one can do with regular uploads like this:
"INSERT INTO Dokuments(DokumData...) values (@DokumData...)"
, SqlDbType.Binary, -1).Value = oHttpPostedFile.InputStream
'oHttpPostedFile is from fileupload