Salvete! Is there a way in Sharepoint to have a file be uploaded to a location in a custom virtual directory instead of sharepoint?
I have about 120 users, all of whom need to deliver to our server monthly files ranging anywhere from 7mb to 500mb. I am only using SQL Express (limit of 10gb) so that will fill up very fast.
I am thinking that I can create a virtual directory (in iis7) inside my portal project that links to a particular directory, like D:\mydir, and inside of that directory, there will be a folder for each of my 120 users, with AD permissions set for those users only.
Is it possible to make sharepoint move files into those directories, or would it be too difficult to make a custom web part (which I have never done) that provides the uploading capability for them?
Using this directory could save my sql space, and make it easier for large files to be stored on the server. Then I could run an application on the server to delete files older than 30 days. It would also make it very easy for my home team to get to those files via unc share.
[update] Here is a solution that I am trying out: I put a custom uploader aspx page in a page-viewer web-part. This will let me upload the file directly to the file-system. It will require some other code, however, to add a reference to sharepoint to indicate the action was performed (logging it in the list). Here is the link: http://msdn.microsoft.com/en-us/library/aa479405.aspx
However, I need to get a slice of the parent page's url; here is the stackexchange thread, if you want to assist me! How to get the url name of a subsite from a webpart?
I haven't accepted any answers yet because I still need to try out Oyshik Moitra's idea too. I am only posting my own in order to show some progress.