Click here to Skip to main content
15,906,558 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have a physical path as C:\Desktop\finame.doc i need to upload the this file
into project folder how to do it
Posted

See, for example, this tutorial: http://www.tutorialspoint.com/asp.net/asp.net_file_uploading.htm[^].

—SA
 
Share this answer
 
Comments
chandubbbb 20-Nov-14 5:39am    
i want to upload the file from existing path into project document folder.
i have path as below
C:\Desktop\somefile.dox
i am already using html file upload control and passing the path of the file to webmethod using ajax, in webmethod i need to upload the file form that path
Sergey Alexandrovich Kryukov 20-Nov-14 9:24am    
It doesn't matter what file to upload. What's the problem?
—SA
Use some thing like this,

C#
Server.MapPath("urprojectfolder");
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900