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


Groups > comp.programming > #2874

Re: Copying of Alternate Data Streams

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!news2.arglkargh.de!news.albasani.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail
From JJ <jaejunks@nah.meh>
Newsgroups comp.programming
Subject Re: Copying of Alternate Data Streams
Date Sun, 20 Jan 2013 05:04:36 +0000 (UTC)
Organization A noiseless patient Spider
Lines 32
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>
Injection-Date Sun, 20 Jan 2013 05:04:36 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="5b92e8199170de57ee52b7716f119bc2"; logging-data="19008"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+jFOmtYfeQYNhNVpSgkqP1IHMQhzXvxyI="
User-Agent Xnews/5.04.25
X-Face \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pad{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
Cancel-Lock sha1:WnxzbCEfpP0hx2ypCVU4sW5yEqk=
Xref csiph.com comp.programming:2874

Show key headers only | 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