By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,341 Members | 1,456 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,341 IT Pros & Developers. It's quick & easy.

copy files from server to server on the same LAN

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.