We are using Aspose.Cells for excel downloading and uploading activities in our application.
We noticed that after uploading a downloaded excel file (.xls), the uploaded file is getting corrupted. Please help us to resolve this issue.
we are using the following code to upload.
using (Stream file1 = File.OpenWrite(fileFullPath))// fileFullPath= path for new file where the data to be written.
file1.Write(uploadRequest.FileData, 0, uploadRequest.FileData.Length); // uploadRequest.FileData= byte data to be written to the file.