Re: copy files from server to server on the same LAN
From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 08/09/04
- Next message: Jon Davis: "Re: NNTP or Basic I/O?"
- Previous message: sdf: "NNTP or Basic I/O?"
- In reply to: Green: "copy files from server to server on the same LAN"
- Next in thread: Kevin Yu [MSFT]: "Re: copy files from server to server on the same LAN"
- Reply: Kevin Yu [MSFT]: "Re: copy files from server to server on the same LAN"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 9 Aug 2004 15:13:06 -0400
Green,
If the directories that the files reside in are available as network
shares, then you can use the static Copy method on the File class to copy
from one directory to another. Just make sure you use the UNC
representation of the path.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com
"Green" <someone@yahoo.com> wrote in message news:opschbl7empk4u20@dev-02...
> Hi,
> I had a question about how to copy files from server to server on the
> same LAN. Basically, i need to copy files from
> "develope server" to the "test server", then eventually to the "production
> server". But i don't know how to deal with
> this. Do you have any example code or hint?
>
> I appreciate in advance!
- Next message: Jon Davis: "Re: NNTP or Basic I/O?"
- Previous message: sdf: "NNTP or Basic I/O?"
- In reply to: Green: "copy files from server to server on the same LAN"
- Next in thread: Kevin Yu [MSFT]: "Re: copy files from server to server on the same LAN"
- Reply: Kevin Yu [MSFT]: "Re: copy files from server to server on the same LAN"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|