Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

what are the possible good and efficient ways of transferring files from one server to another? In this case it will be from windows server 2003 to windows server 2008 r2. I am thinking Powershell cmdlets or batch files could be a help here but not sure.

share|improve this question
up vote 6 down vote accepted

i suggest you use robocopy since it has really nice features such as auto retry when the diskspace is full or when there is a network outage. in your case assuming you have network connection between those 2 machines. robocopy "source" "destination" /(any switch you might add)

robocopy \\c$\2003\folder \\c$\2008\folder /E /Z you can check /? for more options it has quite a few.

hope you find this useful good luck.

share|improve this answer
+1 RoboCopy also has a GUI that can make it a bit easier for some users – Dave M Jun 16 '11 at 11:53
thanks. I am not aware of its function yet but looks like what I want. so, how can I put the remote server credentials? username and password? – tugberk Jun 16 '11 at 14:41

Based on your edit you would have to "map" the C:\ drive of the second machine as a disk on the first machine (for example, as F:) and then use:

xcopy c:\2003\folder d:\2008\folder /s

If it is just files you want to move you could use a batch file and "xcopy".

xcopy X:\ Y:\ /s

This will copy evrything from X:\ to Y:\ and subdirectories.

You'll "map" the C: drive of the se use xcopy C:\2003\folder C:\200

You could also look at TeraCopy, USB sticks, FTP transfer, burn to disk, move to external HD...

share|improve this answer
ok but how would that xcopy code transfer the files from one to another. let's be more specific here; I wanna transfer files from -c:\2003\folder on server whose ip is to c:\2008\folder on server whose ip is – tugberk Jun 16 '11 at 9:41
If you're running this command from a machine other than the two mentioned (you'll need admin access to access the c$ share): xcopy \\\c$\2003\folder\ \\\c$\2008\folder\ [any cool options you want] – Nixphoe Jun 16 '11 at 13:06

My current favorite file transfer tools is richcopy mainly becasue it's multithreaded and can fill whatever size pipe you have between servers (presuming you have the disk IO available).. Richopy is a replacement for robocopy.

share|improve this answer
robocopy on Win7 and Win2k8 is multithreaded as well. – mfinni Jun 16 '11 at 14:38
@mfinni it can be multithreaded, under win 7 but by default it's not. – Jim B Jun 16 '11 at 19:16

Depending on the type of link you have between the servers, I would like to throw in a recommendation for TeraCopy. It has proven itself as very fast and reliable, even over unstable links.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.