instead of issuing a new dir for each sub directory.. you could use an
ls -lR command? I think most ftp servers support it.. It does a recursive
list of all directories..
You'll probably have to handle boundary cases (strange ftp daemons etc)
> My class have next method:
>
> files: aDirectory
> | result list |
> result := OrderedCollection new.
> self session sendCommand: 'dir ' , aDirectory.