acefile icon indicating copy to clipboard operation
acefile copied to clipboard

Restore NTFS streams on Windows

Open droe opened this issue 8 years ago • 2 comments

NTFS streams seem to be handled by archiving them using a special filename. This needs to be investigated (need sample files!) and implemented as appropriate.

droe avatar Aug 06 '17 17:08 droe

BOOL    BASE_PATHFUNC_IsNTFSStreamName(PCHAR Path)
{
PCHAR     Ptr;

  if ((Ptr = strrchr(Path, ':')))
  {
    return *(Ptr + 1) != '\\';
  }
  else
  {
    return 0;
  }
}

droe avatar Aug 06 '17 17:08 droe

So with the scheme filename:streamid current behaviour is to convert the filename to filename_streamid, so data is accessible. However, on Windows, the streams should be restored to streams, not separate files.

droe avatar Aug 06 '17 18:08 droe