How to copy a file from one directory to another

  • Thread starter Thread starter Lynette
  • Start date Start date
L

Lynette

Does anyone have any sample code of how to copy a file
from one directory to another using aspx.

For example I want to copy

e:\document\oldDocument.doc to e:\olddocument\document.doc
 
Hi,

Hmmm, File.Copy?
Make sure that aspnet account has enough NTFS privileges, though.
 
Back
Top