hi, 1. you must 'read the directory into 'files before using it 2. you must specify a full URL for 'file, not just the filename 3. (I don't know why, but) I had a problem using variable name 'info: Try it like this: baseurl: ftp://username:[EMAIL PROTECTED]/path/to/directory/ files: read baseurl forall files [ file: join baseurl first files either error? try [inf: info? file] [print "error or done" halt] [print [file inf/date inf/size inf/type]] ] Russ PS -- print index? files after this... see you'll need to reset this to head before ever redoing the 'forall part: files: head files ; only necessary if you ever reuse files in what follows PPS -- probably will need more error checking to handle directories, etc ---- At 04:53 PM 11/18/99 +0100, you wrote: > >Hi, >i just started with Rebol and went through the example scripts in >http://www.rebol.com/howto.html > >i had problems with the script to print a directory listing. With local >directories there were no problems. > >files: open ftp://ftp.site.com/ > forall files [ > file: first files > info: info? file > print [file info/date info/size info/type] > ] > >if i run it i get everytime following error: > >** Script Error: Cannot use multiply on none! value. >** Where: 2 * index - 1 > >I would like to understand it. Could somebody help me ? > > >Mit freundlichen Gruessen - Yours sincerely > >Alexander Grimm > > > >
