PC Review


Reply
Thread Tools Rate Thread

How to copy a file from one directory to another

 
 
Lynette
Guest
Posts: n/a
 
      8th Jan 2004
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


 
Reply With Quote
 
 
 
 
Miha Markic
Guest
Posts: n/a
 
      8th Jan 2004
Hi,

Hmmm, File.Copy?
Make sure that aspnet account has enough NTFS privileges, though.
--
Miha Markic - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"Lynette" <(E-Mail Removed)> wrote in message
news:069901c3d5fb$efef70a0$(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy file to a different directory ?? Abarbarian Linux 17 22nd Jul 2009 10:56 AM
Copy worksheet to a file in another directory warrent@yocream.com Microsoft Excel Programming 5 28th Feb 2008 02:07 AM
Would like to write batch file to copy all TXT files in a given directory and all subdirectories to a single target directory. Rob Windows XP General 5 20th Aug 2007 02:42 PM
How to copy file to top level directory Siegfried Heintze Windows Vista General Discussion 5 2nd Aug 2007 08:28 PM
How to copy file directory into Excel? Bill in Verona, WI Microsoft Excel Misc 1 7th Dec 2003 07:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:24 AM.