foreach (string item in Directory.GetFiles(Server.MapPath("~/PdfFolder/"), "*.*")) {
File.Copy(item, Server.MapPath("~/Destination/") + Path.GetFileName(item), true); File.Delete(item);
}
If you would like to receive an email when updates are made to this post, please register here
Subscribe to this post's comments using RSS