Metada to download files ?

Mar 4, 2013 at 5:11 PM
Hello !

I found this discussion about setting different upload folders based on metadata :

http://interlink.codeplex.com/discussions/225999

That's fine for the upload process. But is there any way to to the same for the download process on the server side ? I don't find any "metadata" on the download handler.

It's for this kind of scenario :
ServerRootDirectoryForStorage/DEALERID/PURCHASEID/afile.txt ... ...
I want to hide directory structure on client side and be able to rebuilt directory structure when the download request of a file arrived (request only contains "afile.txt"). Is there any way to do that ?

Thanks for any response.
Mar 4, 2013 at 6:48 PM
Yes, just pass the file name, and then server side map to your local folder. Or pass just the dealerid/purchaseid/filename.ext and then map the dealerid server side.
Mar 4, 2013 at 7:15 PM
Ok, so no other solutions than using the filename parameter... Thank you for your response.