Upload file to database instead of save to folder

Thread is closed for posting
2 posts, 0 answers
  1. Brian
    Brian avatar
    8 posts
    Member since:
    Apr 2010

    Posted 20 Sep 2010 Link to this post

    I am using the RadUpload control with my ASP.Net form and I have it configured to insert the uploaded files to a SQL database.  This is working perfectly, but the issue is that it also saves the file(s) into the root directory of my application.  Nowhere in my code project does TargetFolder get set....  so my question is, how can I make it stop saving the file to my app directory?  Thanks.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 21 Sep 2010 Link to this post

    Hello Brian,

    You can use the InputStream property to access the content of the uploaded files without saving them to a temporary location. This property is useful when you want to insert the file into a database, or process its contents without saving.

    Checkout the section "Using the InputStream property" in the following documentation.
    Manipulating Uploaded Files

Back to Top