Hi,
I am working on a web based apllication where user will upload the registration form and the form will save on a perticular server.the code which i am using is :
string strname;
strname = System.IO.Path. GetFileNamefile Upload.PostedFi le.FileName);
fileUpload.Post edFile.SaveAs(S erver.MapPath(s trname));
The problem is this when i upload the document it alwayes goes to my folder where this application is placed.(D:\\Upl oadApp) i want to change the path,is this possible.I am very much new in web application so if there is problem in concept plz. help me.
Thanks,
Shailesh Kumar
I am working on a web based apllication where user will upload the registration form and the form will save on a perticular server.the code which i am using is :
string strname;
strname = System.IO.Path. GetFileNamefile Upload.PostedFi le.FileName);
fileUpload.Post edFile.SaveAs(S erver.MapPath(s trname));
The problem is this when i upload the document it alwayes goes to my folder where this application is placed.(D:\\Upl oadApp) i want to change the path,is this possible.I am very much new in web application so if there is problem in concept plz. help me.
Thanks,
Shailesh Kumar
Comment