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

Upload Without Target folder on the server

1 Answer 91 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Joe
Top achievements
Rank 1
Joe asked on 26 Jun 2009, 12:04 AM
Hello, 
     How can i just grab the actuall file being posted to the RadUploadHandler.  My Website will be running in a cloud computing environment and I wont have access to a local folder.

Thanks,
Joe

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 26 Jun 2009, 11:08 AM
Hello Joe,

Thank you for your interest in the RadUpload control.

Actually this is a bit complex task, but it is still possible. Please follow the points below:
  • Prerequisites: Latest internal build.
    Please note there is a bug in the official release  - the RadUpload breaks the ChunkTag mechanism. Because of this you need the last internal build where this bug is fixed;
  • Please follow the instructions in the RadUpload and ChunkTag technique article. Note: for your convenience we attached the code of the RadUploadHandler's ProcessStream method - you can copy and modify it as it is described in the article;
    The Saving files with unique name is another interested article where ChunkTag technique was involved.

Note: In the upcoming Q2 release we implemented two virtual methods: InitializeChunkStorage and SaveChunkData. You can use them to minimize the code-impact if you want to save uploaded files anywhere but not in the default file location. Please keep an eye on our blogs where this new feature will be announced.

PS: I have noted you are using an old version of RadControls for Silverlight. Please note there is a newer official version 2009.1.526 (Q1 SP2) and the Q2 release was planned for next week.

Regards,
Ivan
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Upload
Asked by
Joe
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or