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

Save Uploaded File in Specific Folder not in DB?? How?

1 Answer 76 Views
Upload
This is a migrated thread and some comments may be shown as answers.
Ahmed
Top achievements
Rank 1
Ahmed asked on 22 Oct 2010, 09:53 PM
 In My Application i want to Upload Images and Videos using Rad Upload and I want to Save all Uploaded Files in Specific Folder and i want to save in DB Path for The Uploaded Files and I don't want To Save Files in Binary Format i want To Avoid That Way Because it will Effect in DB Performance what i want is just save Files Path in DB .... So How Can I Handle It ??
Thanks Alot for Ur Support and Care with Ur Customers

1 Answer, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 28 Oct 2010, 08:58 AM
Hello Ahmed,

What you can do is override some of the methods of the RadUploadHandler on the server site (the web project) like SaveChunkData for example. In this method, you can check the result of the IsFinalFileRequest method.

if (this.IsFinalFileRequest())
{
   ...}
If this is a final file request, you can call the GetFileName method and get the name and path of the file uploaded.

Regards,
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
Ahmed
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Share this question
or