467,926 Members | 1,909 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,926 developers. It's quick & easy.

copy files from server to server on the same LAN

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!
Nov 16 '05 #1
  • viewed: 2179
Share:
1 Reply
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]
- mv*@spam.guard.caspershouse.com

"Green" <so*****@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!

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Adrian | last post: by
2 posts views Thread by Steve Franks | last post: by
reply views Thread by Ken Sturgeon | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.