View Single Post
  #2 (permalink)  
Old 12-19-2007, 02:40 AM
Pegasus \(MVP\)
Newsgroup Contributor
 
Posts: n/a
Re: File copy - existing destination file gets deleted


"GK" <Ganesh.Kamath@in.bosch.com> wrote in message
news:fka7ta$3ca$1@news4.fe.internet.bosch.com...
> Hello,
>
> I try to copy a file from computer1 to computer2 in Windows n/w. The
> destination file already exists and I am overwriting it with a new
> version. During copy, if the network fails (e.g: netwrok cable pulled
> out), the existing file at the destination gets deleted. Is this a known
> issue or is there anything missing in my PC ?
>
> Note: I hve WXP SP2.
>
> Regards,
> GK


During the copy process the destination file is "in limbo", i.e. it
is open and in an indeterminate state. If your connection fails in
the middle of the copy process then the target file does not
contain any useable information, hence Windows makes it
inaccessible.

If failing connections are an issue for you then xcopy.exe
with the /z switch may resolve your problem.


Reply With Quote

 
Old 12-19-2007, 02:40 AM