Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASPNET permissions
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00844973
Message ID:
00845056
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform