Error message when copying files over to Mac Server
use dot_clean, the directory which is being copied and throwing the Error Code 36, the basics look like this:

Launch the Terminal (found in /Applications/Utilities/ or with Spotlight)
At the command prompt, type:

dot_clean /Path/To/Directory/With/Problem/


When dot_clean is finished, attempt the file copy again and it should succeed with no error code
For example, if copying ~/Documents/FileBackups/ is the problematic directory, use:

dot_clean ~/Documents/FileBackups/


For more info see http://osxdaily.com/2015/02/21/fix-error-code-36-finder-mac-os-x/