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

2 posts, 0 answers
  1. Ahmed
    Ahmed avatar
    55 posts
    Member since:
    Oct 2012

    Posted 22 Oct 2010 Link to this post

     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
  2. Alex Fidanov
    Alex Fidanov avatar
    637 posts

    Posted 28 Oct 2010 Link to this post

    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.

    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