General discussion

Locked

moving files

By wallen ·
When I move a folder from one network drive to another (for example from
"X" to "U"), I get a "Sharing Violation" error. I also get this error
when I am moving a folder within the same network drive (for example
from one location in the "X" drive to another in the "X" drive). This
error causes the following:

> 1) An empty copy of the original folder is left behind in its original
> location; or
>
> 2) Midway through the file transfer, I receive the "Sharing Violation"
> error, resulting in only a partial transfer of the files. All remaining
> files then have to be individually transferred. An empty copy of the
> original folder is always left behind.
>
> This is a problem because it causes confusion for the team working on
the same project. It also poses the risk of losing files during the
transfer. This happens to nearly every folder I try to move using the
"move to folder" function.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

moving files

by quintar51 In reply to moving files

The reason you are getting 'sharing violation' is that the file is in use at the time you try and move it. If you want to move the file, make sure that NOBODY is using it. A way to find out is if you enable hidden files by going to My Computer, View, Options, View tab, Show all hidden files.

If someone has the file open, then you'll see a temp file with the same name. That will be your clue.

Also, sharing violation can also come from programs that are using the file as well.

hope that sheds some light.

Collapse -

moving files

by wallen In reply to moving files

The question was auto-closed by TechRepublic

Collapse -

moving files

by BeerMonster In reply to moving files

Hi,
Rather than just a file sharing violation, I think you'll find the problem is more likely to be that someone is actually in the folder at the time you are moving. This could be someone browsing the folder either via a window, a mapped drive or from the command line. The clue is that an empty folder is left behind. A copy involves a copy, then a deletion of the original. the folder cannot be deleted because someone is in it. As the previous respondent says, the problem of incomplete filecopies is caused by the copy process beginning the copy, then running into a file that is in use. the copy is aborted leaving the 'files copied so far' at the destination, and all files including the locked file at the source. Depending on your OS, you can check who is accessing a file or folder either from server manager (NT) or via computer management (win2k and xp). Hope this helps...

Collapse -

moving files

by wallen In reply to moving files

The question was auto-closed by TechRepublic

Collapse -

moving files

by wallen In reply to moving files

This question was auto closed due to inactivity

Back to Windows Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums