Link to home
Start Free TrialLog in
Avatar of freezegravity
freezegravity

asked on

saving file to server via path

Hello,

This is essentially a javascript question but within a context of Sharepoint and ASP.Net

I need to store multiple files on the server via an upload utility.

I have just one <input type="file"> tag. When another file is selected, I store the the location on the local computer in a hidden field.

Now, how do I store the files to the actual server, given just the "path" address?

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Barry Jones
Barry Jones
Flag of United Kingdom of Great Britain and Northern Ireland 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 freezegravity
freezegravity

ASKER

TheFoot touched on this, but the real answer is that if you have to store the files themselves. Just storing the path is not sufficient as this creates a security hole. To save files in SharePoint, look at the FORM.js file in the 12 hive.