# File/Data upload

**URL:** <https://forum.radzen.com/t/file-data-upload/2545>\
**Category:** Blazor Server\
**Created:** [February 4, 2020, 8:21pm UTC](https://forum.radzen.com/t/file-data-upload/2545 "2020-02-04T20:21:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Riaan\_Havenga](https://forum.radzen.com/user_avatar/forum.radzen.com/riaan_havenga/32/1921_2.png) [@Riaan\_Havenga](https://forum.radzen.com/u/Riaan_Havenga)\
**Post date:** [February 4, 2020, 8:21pm UTC](https://forum.radzen.com/t/file-data-upload/2545/1 "2020-02-04T20:21:05Z")

</div>

Hi Guys,

I need some advice, I would like to upload text-based data from a csv file through Blazor, into a database. The lines will be processed and written into the applicable table in SQL upon upload. The files could be quite large, lets say 50Mb.

I am still learning a lot, and just want to make sure that I start off in the right direction. I have gone through "Upload files in ASP.NET Core" and it seems that streaming the data would be the best approach. Does your Blazor upload function and the iFormFile interface support streaming?

Regards  
Riaan

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [February 5, 2020, 8:29am UTC](https://forum.radzen.com/t/file-data-upload/2545/2 "2020-02-05T08:29:07Z")

</div>

Hi @Riaan_Havenga,

What does streaming mean in this context?

---

<div class="post-metadata">

**Author:** ![Riaan\_Havenga](https://forum.radzen.com/user_avatar/forum.radzen.com/riaan_havenga/32/1921_2.png) [@Riaan\_Havenga](https://forum.radzen.com/u/Riaan_Havenga)\
**Post date:** [February 5, 2020, 6:34pm UTC](https://forum.radzen.com/t/file-data-upload/2545/3 "2020-02-05T18:34:26Z")

</div>

Hi Korchev,

I am refering to the streaming of files as mentioned on the ASP.NET Core reference page on file uploads:

 ![image](https://forum.radzen.com/uploads/default/original/2X/a/a915b5a19e2487de885d9f0c68d79f69bdda5529.png)

My question boils down to: how good is the Blazor upload component with large files (50Mb+) ?

I am worried that simultaneous uploads by mutiple users could be using too much memory. What I understand under streaming is that the complete file is not dumped in memory with one shot, but streamed thought the system in smaller batches. It could then in theory be processed as it comes in, and stored in the db.

Regards  
Riaan

---

<div class="post-metadata">

**Author:** ![korchev](https://forum.radzen.com/user_avatar/forum.radzen.com/korchev/32/4_2.png) [@korchev](https://forum.radzen.com/u/korchev)\
**Post date:** [February 6, 2020, 7:33am UTC](https://forum.radzen.com/t/file-data-upload/2545/4 "2020-02-06T07:33:05Z")

</div>

> [@Riaan\_Havenga](#):
>
> My question boils down to: how good is the Blazor upload component with large files (50Mb+) ?

Can't really answer that question. I suggest you just try it and see if it meets your requirements.
