bolenka
asked on
Can I upload files to a server using ASP.NET programming, if so, is ASP.NET the best way to do this?
I am a contractor who has been assigned the task of uploading files to a server via the web. What is the best way to program this in ASP.NET? I have some experience with ASP.NET, but a lot of ASP classic experience. I was just wondering if it would be easiest to program this in ASP.NET? If so, how would I best do this? I have to be able to associate a logged on user with the newly uploaded files. The uploaded files would be saved in a file management system, each user having a folder for their uploaded files. The database would save information about the uploaded files for a specific person....(the name of the files etc.(not in a blob field))...and then the user would have to be able to view a list of their files that they have uploaded in an asp page, click on them and view them. I also have to be able to do a virus scan on the uploaded files.
Can someone suggest if this is all possible using ASP.NET, and if so, point me to some examples or give me some tips on the best way to get started?
Thanks.
Can someone suggest if this is all possible using ASP.NET, and if so, point me to some examples or give me some tips on the best way to get started?
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
what about using a database to store filename, paths, dates, users, etc, that way you have more info and its more accessible. Plus you can use ado to fill the datalists. if you uploaded the files to a folder, you wouldnt have to do anything special to get it v-scanned bc on-access scan should hit it.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
So save the PATH information to the database and then use ADO to access the datapath information??? So if the user clicks on the actual datapath, they will be able to access their uploaded files? I need to associate the files with a particular user... can I do that using USER information stored the session and then they will be able to see their files in the list? That is the only thing I am unclear on...is if I save the path of the files in the folder to the database, how will the user be able to get to their files. What kind of code would I need to write for that. I would be writing the code behind using VB.
ASKER