Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASPNET permissions
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00844973
Message ID:
00845056
Views:
19
This message has been marked as the solution to the initial question of the thread.
>Let me tell you what I'm doing now:
>
>I have a HtmlInputFile object called MyFile
>
>There is a button on the form that when clicked, will upload the file.
>
>I perform the upload with something like
>
>string path = "c:\docs\";
>string filename = MyFile.PostedFile.Filename;
>MyFile.PostedFile.SaveAs( path + filename );
>
>What I need is to be able to put into path:
>string path = "\\servername\sharname\";
>
>Make sense?
>
>Or, is there a better way to do the whole process.

You are doing it the best way. (In my opinion)
What you will need to do is login to your network server using impersonation.
Cathi Gero explains how to do this (to me) in
Message Id 682735
Chris
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform