Link to home
Start Free TrialLog in
Avatar of rawcoder
rawcoder

asked on

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

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?
ASKER CERTIFIED SOLUTION
Avatar of masterpass
masterpass
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rawcoder
rawcoder

ASKER

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