Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have browser control in that i want select file
after that in next textbox in which location i want to copy
after giving tat location in eant to copy a file.
Posted
Comments
MarqW 26-Mar-12 8:55am    
Is this a WinForms application or a website?
Shahin Khorshidnia 26-Mar-12 9:50am    
Not clear.
Please improve your question.
May we see your code?

1 solution

I think this will help you to solve your problem

C#
File.Copy("your Source file path", "Your Destination file path with file name");


to use above code segment you need to use this namespace

C#
using System.IO;
 
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