Mac OS X Server: Copying Files from Windows Services for Macintosh to Mac OS X Server Results in Files With Strange Names

  • Last Modified: September 09, 2008
  • Article: TS2251
  • Old Article: 107325

Symptoms

Copying files from a Windows server offering Services for Macintosh to Mac OS X Server via SMB results in the creation of some files with strange names.


When you copy a file, it is split into three separate files on a Mac OS X Server. The results may look like the following.

    1. MacFile
    2. MacFile/AFP_Afpinfo/$DATA
    3. MacFile/AFP_Afpresource/$DATA

 

The first is the data fork, the second the Finder information (or meta-data), and the third the resource fork.

Products Affected

Mac OS X Server 10.4.7, Mac OS X Server 10.4, Mac OS X Server 10.3, Mac OS X Server 10.2, Mac OS X Server 10.1 (Xserve), Mac OS X Server 10.1, Mac OS X Server 10.0, Mac OS X Server 10.5

Resolution

The solution is to use Apple Filing Protocol (AFP) to copy the files, instead of SMB. This keeps the streams together.

For servers with a display

    1. Log in to Mac OS X Server as an Admin user.
    2. In the Finder, choose Connect to Server from the Go menu.
    3. Entering the DNS name or IP address of the Windows server, then click Go.
    4. Select the volumes you wish to copy from.
    5. In the Finder, drag the files from the Windows server volume to the desired location.


For servers without a display (headless)

    1. From a Macintosh client computer, connect to the Mac OS X Server system via AFP. Be sure to connect as an Admin user, and select the destination volumes.
    2. Connect to the Windows Server via AFP.
    3. In the Finder, drag the files from the Windows server volume to the desired location on the Mac OS X Server volume.
Not helpful Somewhat helpful Helpful Very helpful Solved my problem