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


Groups > comp.sys.acorn.programmer > #768

Re: OS_GBPB 9 - Read filenames from directory

From Terminal Crazy <Terminal_Crazy@sand-hill.freeserve.co.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: OS_GBPB 9 - Read filenames from directory
Date 2011-09-25 20:14 +0100
Organization non
Message-ID <5218667bd9Terminal_Crazy@sand-hill.freeserve.co.uk> (permalink)
References <5218550b41News03@avisoft.f9.co.uk>

Show all headers | View raw


In article <5218550b41News03@avisoft.f9.co.uk>,
   Martin <News03@avisoft.f9.co.uk> wrote:
> However, it appears that the sequence is normally filename in all cases I
> have been able to investigate, EXCEPT when using HostFS with VRPC, and
> the files are actually on a FAT (not NTFS) formatted disc. In this case I
> think that the sequence is the order in which the file was added to that
> directory.

I don't think there is any guarantee to the order. I'd wrongly assumed it
was ordered as per the filer view.   LanMan98 (from WinXP & Netgear Stora) 
& Sunfish (Ubuntu ext3) don't supply data in a sorted order. This played
havoc with my recursive enumerator. I have now resorted to sorting any
retuned list.
Had i realised this I might have written it differently...

-- 
Terminal_Crazy

Mitch - 1995 Z28 LT1 M6          terminal_crazy@sand-hill.freeserve.co.uk
Lancashire England          http://www.sand-hill.freeserve.co.uk/terminal_crazy/

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

OS_GBPB 9 - Read filenames from directory Martin <News03@avisoft.f9.co.uk> - 2011-09-25 17:04 +0100
  Re: OS_GBPB 9 - Read filenames from directory Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-09-25 20:18 +0200
  Re: OS_GBPB 9 - Read filenames from directory Terminal Crazy <Terminal_Crazy@sand-hill.freeserve.co.uk> - 2011-09-25 20:14 +0100
    Re: OS_GBPB 9 - Read filenames from directory jeff <jeffrey.a.doggett@gmail.com> - 2011-09-26 00:35 -0700
  Re: OS_GBPB 9 - Read filenames from directory "Ste (news)" <steve@revi11.plus.com> - 2011-09-28 15:25 +0100
    Re: OS_GBPB 9 - Read filenames from directory Vince M Hudd <vinceh@softrock.co.uk> - 2011-09-29 11:34 +0100
      Re: OS_GBPB 9 - Read filenames from directory "Ste (news)" <steve@revi11.plus.com> - 2011-09-29 12:39 +0100
        Re: OS_GBPB 9 - Read filenames from directory jgharston <jgh@arcade.demon.co.uk> - 2011-10-09 16:23 -0700

csiph-web