@MarwaAbouawad-5459 - Welcome to the Q&A platform.
Azure Web Apps are more suitable for quick running APIs / responses. When trying to do file transfers that run more than ~30 seconds, the risk of failure is significantly high.
In order to minimize risk of disconnect errors, a better way to upload large files would be using a SAS Key. An Azure Web App generates a storage blob's SAS Key with write access. This SAS Key can then be sent by the Web App to a browser and the browser will be used to upload the file directly into Azure Storage without involving the Web App in the upload path.
There was a sample blog post for this published on Microsoft's techcommunity site, which I am linking here for reference: https://techcommunity.microsoft.com/t5/apps-on-azure/azure-storage-blob-upload-from-browser/ba-p/392687
Hope this helps!