This is a migrated thread and some comments may be shown as answers.

Don't save file to disk

2 Answers 50 Views
Upload
This is a migrated thread and some comments may be shown as answers.
safa
Top achievements
Rank 1
safa asked on 02 Nov 2010, 12:07 PM
Hi everyone, I need some help,
 

Is it possible to just have the byte array and not save the file to disk?

thanks in advance

2 Answers, 1 is accepted

Sort by
0
safa
Top achievements
Rank 1
answered on 02 Nov 2010, 12:17 PM
I know that I have to skip "ProcessStream()" but I don't know what to implement then.
0
Alex Fidanov
Telerik team
answered on 04 Nov 2010, 01:02 PM
Hi safa,

The transferred bytes are being pushed into the local file's stream and saved in the SaveChunkData method. You can override it and save the bytes in a temporary memory stream instead. Checking for the final chunk of data can be done with the IsFinalFileRequest() method.

Best wishes,
Alex Fidanov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Upload
Asked by
safa
Top achievements
Rank 1
Answers by
safa
Top achievements
Rank 1
Alex Fidanov
Telerik team
Share this question
or