multiple stream files supported?

Chitchat about x² / 2X products

Moderators: fgagnon, nikos, Site Mods

User avatar
sysyphus
New Member
Posts: 7
Joined: 2002 Apr 28, 09:20

Post by sysyphus »

(apologies if this has been covered previously)

Is there any plan to add the ability to view multiple stream files properly (NTFS resource-fork type files)? Showing the true size and maybe the names of the resources: Eg if I have a file called "list" with the data fork containing 100k in a resource called "hidden", the file might appear in the directory as:

---name----------size----
     list................  0k
     list:hidden...   100k

Or is there a way to do this with the current program?

Failing that does anyone know of a way to do this in explorer?

Regards,

Sysyphus
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

ntfs parallel streams can lead to many "party tricks" since you can place a file that shows "0" bytes on your friend's computer whereas in fact it has 10GB stored secretly in a secondary stream -- how we all laughed! :)

it's quite hard getting hold of that info though. I know 2x will correctly copy all parallel streams of a file, if the target supports NTFS. I also know that winRAR is a packer that correctly zips parallel streams, so i guess you could use it as an indicator of whether some file has such streams or not

for smarter measures i'll have to think something for xplorer2, perhaps an extra column that shows the hidden size of the file
User avatar
sysyphus
New Member
Posts: 7
Joined: 2002 Apr 28, 09:20

Post by sysyphus »

nikos wrote:for smarter measures i'll have to think something for xplorer2, perhaps an extra column that shows the hidden size of the file
that would be cool
User avatar
RockyRich
New Member
Posts: 1
Joined: 2002 Dec 12, 13:41
Location: Colorado, USA

Post by RockyRich »

nikos wrote:...it's quite hard getting hold of that info though. I know 2x will correctly copy all parallel streams of a file, if the target supports NTFS. I also know that winRAR is a packer that correctly zips parallel streams, so i guess you could use it as an indicator of whether some file has such streams or not

for smarter measures i'll have to think something for xplorer2, perhaps an extra column that shows the hidden size of the file
You might want to visit the SysInternals Miscellaneous Tools page and look at the Streams utility. It reveals the non-default streams hiding on NTFS volumes using an undocumented (how :shock: shocking!) native NTFS function. It is freeware, and full source code is included.
User avatar
nikos
Site Admin
Site Admin
Posts: 16341
Joined: 2002 Feb 07, 15:57
Location: UK

Post by nikos »

thanks for that
there are documented ways to access streams, too
the question is how can stream management be incorporated in x2
i was thinking of a simple column with total stream size
but perhaps commands to view/modify specific stream contents would be more useful

any ideas welcome