Mike's
World
Monday, May 9, 2011
how to copy files to local to server path using c#
string path="C:\\Users\\prag\\Desktop\\bosco\\test.txt";
string sourceFile = path;
string destinationFile = Server.MapPath("./file/test.txt");
System.IO.File.Copy(sourceFile, destinationFile);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment