VMware Communities
Acco
Contributor
Contributor

File truncation on Windows to Mac network transfer

We've started to notice file truncation problems when transferring files from the Windows VM to Mavericks. We use OS X SVN and FTP clients connected to Windows shares to move files around. We initially suspected these were causing the truncations but have since discovered that simply copying a file to the Mac desktop will cause a truncation, though not on all files. Files are always truncated at the same point - copying the file several times results in it being exactly the same length, potentially locked at its previous length prior to it being edited Windows side. We're talking about small source code text files of less than 20KB.

Has anyone else seen this issue? Are there any workarounds?

A search has indicated a potentially corrupt VM file system but this seems unlikely as the files appear fine on the Windows side.

Tags (3)
0 Kudos
2 Replies
nancyz
VMware Employee
VMware Employee

Hi Acco,

Welcome to the community. Do you mean the truncation issue only happens for a certain file? How did you copy the file, use SVN or FTP? Does the file have some specific attrubute? Have you tried other way to copy the file from your Windows VM to Mavericks,e.g, drag and drop ?

0 Kudos
Acco
Contributor
Contributor

Thanks for getting back.

The truncation isn't on a single specific file, but once it happens to a file, it continues to happen to that file. We're finding one or two files a month. Whilst we first spotted the issue in SVN (essentially via a standard SMB pc -> mac network share), we can replicate the problem with drag and drop. The latest file to exhibit the problem is 'whole' (2,645 bytes) on Windows side but truncated (2,523 bytes) once transferred to the Mac. Editing the text file on Windows, adding lines above the truncation, continues to leave the file truncated at the same length when transferred.

We haven't spotted a pattern with attributes or file properties. All files are created and edited in Visual Studio and tend to be either .cs or .cshtml files. They're not locked or permission controlled in any way by Windows as far as we can tell.

A restart of Windows immediately having spotted the problem didn't fix it, however following a restart of the Mac the file does not truncate (we've not been scientific about that though, two days have passed since the Mac was powered down).

0 Kudos