Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #2874

Re: Copying of Alternate Data Streams

From JJ <jaejunks@nah.meh>
Newsgroups comp.programming
Subject Re: Copying of Alternate Data Streams
Date 2013-01-20 05:04 +0000
Organization A noiseless patient Spider
Message-ID <XnsA14E7B169ACD4jj@0.0.0.55> (permalink)
References <50f7d32c$0$17946$4fafbaef@reader1.news.tin.it> <9cmff815shndesnst1l0974motteihuar7@4ax.com> <50fa9bf9$0$26780$4fafbaef@reader2.news.tin.it>

Show all headers | View raw


Thomas B <thomasb@nospam.it> wrote:
> And how were they in prior versions?

There doesn't seem to be any changes since it was first introduced in 
Windows NT 3.1.

http://en.wikipedia.org/wiki/Ntfs#Alternate_data_streams_.28ADS.29

> Copying with preserving of Alternate Data Streams was supported both
> by Windows Explorer and Windows API calls?

Depends on how the file is copied. The shell including Windows Explorer, 
are ADFS aware and will presere them when copying. Windows API that can 
copy file in a single function are mostly ADFS aware. Such as 
SHFileOperation, CopyFile, and CopyFileEx. Manual file copy using 
FileOpen, FileRead, FileWrite, etc. are not ADFS aware as they 
specifically chose which stream to access when opening the file. Note 
that in Windows, ADFS is strictly NTFS only. ADFS will not be preserved 
when file is being copied accross network since the system do not have 
control over the internal file-system of the storage on the other side of 
peer. There is no Windows API specifically for this and only by client-
server based custom program these can be achieved. Check the MSDN library  
for each file function you want to use for any limitation.

> And there is no difference between Windows "sub-versions" (e.g. 
> Professional, Home, etc.).
> I'm sorry for asking again, but would like to feel sure.
> Thanks,
> 
> Thomas

For ADFS, no difference.

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Copying of Alternate Data Streams Thomas B <thomasb@nospam.it> - 2013-01-17 11:32 +0100
  Re: Copying of Alternate Data Streams Robert Wessel <robertwessel2@yahoo.com> - 2013-01-17 05:00 -0600
    Re: Copying of Alternate Data Streams Thomas B <thomasb@nospam.it> - 2013-01-19 14:13 +0100
      Re: Copying of Alternate Data Streams Thomas B <thomasb@nospam.it> - 2013-01-19 14:34 +0100
        Re: Copying of Alternate Data Streams Robert Wessel <robertwessel2@yahoo.com> - 2013-01-21 03:45 -0600
      Re: Copying of Alternate Data Streams JJ <jaejunks@nah.meh> - 2013-01-20 05:04 +0000
      Re: Copying of Alternate Data Streams Robert Wessel <robertwessel2@yahoo.com> - 2013-01-21 03:45 -0600

csiph-web