Don't save file to disk

3 posts, 0 answers
  1. safa
    safa avatar
    2 posts
    Member since:
    Aug 2010

    Posted 02 Nov 2010 Link to this post

    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. safa
    safa avatar
    2 posts
    Member since:
    Aug 2010

    Posted 02 Nov 2010 Link to this post

    I know that I have to skip "ProcessStream()" but I don't know what to implement then.
  3. DevCraft banner
  4. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 04 Nov 2010 Link to this post

    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
Back to Top