Downloading after an Upload

2 posts, 0 answers
  1. GEB
    GEB avatar
    228 posts
    Member since:
    Dec 2008

    Posted 02 Nov 2009 Link to this post

    I am successfully using the RadUpload control to upload files to a directory determined on the server side.  The actual directory is stored in the Web.config file, and read by the upload handler as a file is being uploaded.  I have not deployed this to a server yet, but I'm successfully running in my VS2008 development environment.  The directory stored in Weg.config / appSettings is a directory that is on another disk drive that is independent of the web site, but on the same server.  For example, the web site will be hosted on the C: drive, but all data (databases and uploaded files) will be stored on the D: drive.

    I know how to download files when specified as a URL.  However, the data stored on the server's D: drive will not be accessible as a URL (intentionally).  What I really need is a control that is the same as the RadUpload control, except used to download files instead.  It could then use the same directory specification stored in Web.config.

    Do you have any recommendations on how to accomplish this?  Because of security reasons, I do not want to make the D: accessible as a URL, and only want access to the uploaded files through my Silverlight application.
  2. Ivan
    Ivan avatar
    519 posts

    Posted 03 Nov 2009 Link to this post

    Hello Gary,

    Thank you for your interest in the RadUpload for Silverlight.

    Till now we do not have a download control. In fact you do not need such a control. You can setup a virtual directory on your web server - all requests to this directory will return files from your directly on D-drive. Other way is to implement your handler that will return the file specified in the request.

    We hope this information will help you.

    All the best,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
Back to Top