Click to See Complete Forum and Search --> : copy a directory one location to another


FundooGuy
March 9th, 2005, 11:59 PM
Hi frnds

i need to copy a folder from one location to another location.
i ve a file uplod control and a text box on the page.
wht i want is to copy the folder from the source location(which is provided by the user in file upload control) and copy it with the new name(which is in text box) on the target location.

pls tell me wht should i use to do that n how.

tnx a ton in advance

chuawenching
March 10th, 2005, 12:41 AM
Hi,

Look at this.

http://www.devcity.net/Articles/61/1/func_dir.aspx

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemiofileclasscopytopic2.asp

Hope it helps.

Cheers.