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


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!


Relevant Pages