Why aren't Windows file copies restartable? - Jon Galloway

Why aren't Windows file copies restartable?

Windows has supported restartable file copies for a while. CopyFileEx() has supported COPY_FILE_RESTARTABLE for a long, long time. ROBOCOPY has handled restartable file copies since Windows NT4 - maybe eight years ago? So you might think Windows Explorer would handle restartable file copies. Unfortunately, here's what you get when your connection drops for even a second:

Same problem in Vista, despite the fact that file copies take eons. In the sixth major release of an operating system, is it too much to expect that the file system GUI handle network copies, especially when the base operating system's had the capabilities for almost a decade? Robocopy, a simple console application, tells you that the connection has dropped and that it will try again in 30 seconds. How about Explorer?

Published Wednesday, September 05, 2007 11:22 PM by Jon Galloway
Filed under:

Comments

# re: Why aren't Windows file copies restartable?

Here here! You've got my vote.

Thursday, September 06, 2007 3:42 AM by Haacked

# re: Why aren't Windows file copies restartable?

Abort, Retry, Cancel?

Thursday, September 06, 2007 4:44 AM by Jeff Atwood

# re: Why aren't Windows file copies restartable?

Do you have a proposed GUI/user story? I suppose a dialog similar to Jeff's <em>Abort, Retry, Cancel</em> wouldn't be too bad...

Thursday, September 06, 2007 12:38 PM by Steven Harman

# re: Why aren't Windows file copies restartable?

Here's why it will never come about.

Who's responsibility is it? Is it the responsibility of the Network subsystem to not immediately terminate the network connection until a specified period has ended? Or is it the responsibility of the file system to not abort a file copy until a specified time period.

What are the ramifications of a timeout in either case?

Thursday, September 06, 2007 1:27 PM by Scott

# re: Why aren't Windows file copies restartable?

I know!  I was pretty excited to see all sorts of new features in Vista. I dreamed of all the the wondorful goodies that would be in the "sixth major release of an operating system", only to find a beautiful UI slapped on the same old functionality.

Oh well. There is always 2010...

Thursday, September 06, 2007 2:15 PM by Ben

# re: Why aren't Windows file copies restartable?

I agree.  I usually cite the lack of improvement in file or network operations as one of my biggest frustrations with Vista.  

Thursday, September 06, 2007 5:02 PM by Brian Ellis

# re: Why aren't Windows file copies restartable?

Scott,

It is the responsibility of explorer to resume a file copy.  Simply merge features of Robocopy into explorer's codebase.

I imagine that with a bit of engineering, you could make this transparent to the user and 100% backwords compatible.

Both products are owned by Microsoft so it doesn't seem like such a hard problem to solve afterall.

Monday, September 10, 2007 5:14 PM by Ben

# re: Why aren't Windows file copies restartable?

Actually you CAN do restartable file copies, using robocopy (comes with rktools).  Pass the "/z" flag and your done.

I've actually gotten into the habbit of using robocopy because I never have to sit there and wait for windows to calculate folder counts just to show me a progress bar.

Thursday, September 13, 2007 11:04 PM by Dave

# Why are big files a big pain in the &#8230; &laquo; London Coder

Pingback from  Why are big files a big pain in the &#8230; &laquo; London Coder

Monday, October 01, 2007 4:23 PM by Why are big files a big pain in the … « London Coder

# re: Why aren't Windows file copies restartable?

It is really amazing that nothing has been done to "fix" this.

Not only you cannot restart, but if your target is full, it crashes, you cannot "pause" the operation if you need to disconnect the net, etc..

When copying large sets of data it gives some pain. I usually zip lot of things before starting copy to make it a little faster, and if it breaks, well, I can restart the copy of a sinlge file instead. not needing to diff an whole filestructure.

Friday, October 05, 2007 12:15 PM by AsbjornM

# re: Why aren't Windows file copies restartable?

Try Terracopy.  It's free, and hooks into Explorer to provide just this functionality.  No, I'm not an employee.  :o)

Thursday, October 25, 2007 11:40 PM by Mark Bradshaw

# [Utility] TeraCopy removes the file copy pain from Windows Vista

Last September, I asked why aren't Windows file copies restartable ? It's a huge productivity killer

Friday, May 02, 2008 2:32 AM by Jon Galloway

# re: Why aren't Windows file copies restartable?

how do you hook terracopy into internet explorer so that when you click on a link to copy (ie the run/save option) you can restart the copy in the event of connection failure?

Thursday, September 25, 2008 3:50 PM by dave.gledhill@Hp.com

# re: Why aren't Windows file copies restartable?

-----------------------------------------------------------

I am actually not as well familiar with this subject but I do like to pay a visit to blogs for layout ideas and exciting subjects. You genuinely expanded upon a subject that I normally do not care a lot about and produced it very fascinating. This can be a good website that I will take observe of. I currently bookmarked it for future reference. Cheers

Saturday, January 08, 2011 3:27 PM by ipad covers

Leave a Comment

(required) 
(required) 
(optional)
(required)