How do you set the upload directory for slickupload at runtime?

Posted on 2013-01-17
Medium Priority
Last Modified: 2013-01-24
I am developing using razor, .net mvc 3 and c#. I downloaded and am setting up the SlickUpload utility for uploading files to my server. I need a way to determine which folder the current file upload should go to. There are four possibilities in my scenario. Is there a programmatic way to do this. So far the documentation tells me to update my web.config file and add the following entry: , but this does not help me to vary the folder during runtime. Also, is there a way to get the original filename for each file?
Question by:rawcoder
LVL 21

Accepted Solution

masterpass earned 2000 total points
ID: 38789546

Author Comment

ID: 38794543
Where would I make this change, controller or somewhere else?

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Strategic internal linking is often considered an SEO power technique, especially for content marketing. Do you need to hire an SEO agency to optimize you internal linking? No, this article will help you understand the basics of internal linking and…
Now many of you may wonder how you can reach great design with least number of essentials. Isn’t stuffing ‘more and more number of elements that speak for the purpose’ the right way to do it? Erm, not always, and in this write-up, you will see why.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question