Hi all,

I'm trying to read file modes via FTP but without success.  This for instance...

get-modes ftp-url-to-a-file 'file-modes

just returns the following error...

** Script Error: get-modes expected target argument of type: file url block port
** Near: system/words/get-modes port/sub-port modes

The target URL's fine, (I can download the file using it), but I can't get the 
file modes.

I'm wanting to set file permissions, but going by old mailing-list threads, 
there's problems with this via FTP.  There is this though...

http://www.rebol.org/cgi-bin/cgiwrap/rebol/ml-display-thread.r?m=rmlGMGQ

which suggests it can be done, but it pre-dates the current FTP patch by quite 
a bit (I assume) and is pretty specific.

So, am I doing something wrong above, or is this something that can't easily be 
done with REBOL?

-- Carl Read.

-- 
To unsubscribe from the list, just send an email to 
lists at rebol.com with unsubscribe as the subject.

Reply via email to