Files are copied twice from Max OS X to apple share on Win2k



Hi, sorry for a long description, but I'm trying to include all details. And
thanks in advance for your help.

Problem Description
===================
I copy a lot of files (I tried around 50 files but there's no limitation) at
once from a MacOS X machine to an apple share on Win 2000 Server machine. I
have an application on the windows box that monitors this shared folder for
new files. This directory monitor waits for files to stabilize (when file
size and last modified time haven't changed for 5 seconds), then moves them
to ".stable" subfolder under the shared folder.

So the mac starts copying files. First it (or Services for Macintosh)
creates 0-byte files for every file to be copied. Then it starts copying
files one by one. As first files finish copying, my directory monitor program
moves them to .stable folder, so by the time Mac finishes, some files have
already been moved. My application eventually successfully moves ALL files to
..stable folder, i.e. there are no corrupted files or missing files. The
problem is that for some of the files, usually no more than 5, new 0-byte
files appear in the shared folder after I've already moved the file once. For
example, let's say I'm copying a file named "file1.txt" as part of the 50
files, and its size is 300Kb; directory monitor waits for a few seconds and
moves it to .stable subfolder; the file is fine and it's still 300kb; after
Mac is done copying the rest of the files, there's another "file1.txt" in the
shared folder, but its size is 0 bytes. Even though the size is 0 bytes in
Windows, Mac Finder says it's 8Kb. I have no idea what's creating this second
file. I don't even know which side causes the problem.

So my question is, why do these files get created second time, and how can I
prevent this from happening? Is it a bug?


Additional information
----------------------

Windows machine is Windows 2000 Server, SP4. On Apple side, problem was
reproduced on two different machines, one - MacOS X, 10.3.3, the other -
MacOS X 10.4. On Mac, I established connection to the share by selecting
"Go"->"Connect to Server" menu in Finder. Then I typed in ip address of the
windows box and my user name and password. I didn't specify the protocol in
front of IP address, so I don't know which protocol is being used.

I am ignoring "ICON" and ".DS_Store" files.

Again, thanks in advance

.



Relevant Pages

  • RE: Connect OS X.2 to Win 2003 server?
    ... that Camino from the Mozilla website will work on the Mac to webexchange. ... Amos Hayes suggested that a default server setting of "digitally sign ... Windows 2003 Server domain controllers have "Microsoft network ... > If we try to use a shared folder on a Win XP computer we have ...
    (microsoft.public.macintosh.general)
  • Re: For those who think Apple isnt selling computers
    ... describe malicious programs that spread by copying themselves -- for ... Windows and previous Microsoft operating systems. ... For Mac OS X, the number can be counted on one hand. ...
    (comp.sys.mac.advocacy)
  • Re: Saving to shared folder
    ... I have Virtual PC 7.0.2 on a Mac mini with OS 10.3.9. ... designated my Documents folder as a shared folder, ... Windows and then dragging them across. ... When I said I had designated my Documents folder as a shared folder, I was talking about the Documents folder in OS X, not the My Documents folder in Windows. ...
    (microsoft.public.mac.virtualpc)
  • Re: VPC for several accounts on 1 computer
    ... How can the other accounts on my Mac use that Windows ME? ... Hi Oscar! ... Shared folder inside the Users folder? ...
    (microsoft.public.mac.otherproducts)
  • Re: For those who think Apple isnt selling computers
    ... describe malicious programs that spread by copying themselves -- for ... Windows and previous Microsoft operating systems. ... For Mac OS X, the number can be counted on one hand. ...
    (comp.sys.mac.advocacy)

Loading