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

Downloading after an Upload

1 Answer 54 Views
Upload
This is a migrated thread and some comments may be shown as answers.
GEB
Top achievements
Rank 1
GEB asked on 02 Nov 2009, 03:48 PM
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.

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 03 Nov 2009, 03:23 PM
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,
Ivan
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.
Tags
Upload
Asked by
GEB
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or