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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement