Anything a programmer can write in Rebol for the management of local files can be used to manage remote files directly thru ftp. The script that we present here is an illustration of that. From the path of a local or remote folder, tree-dir creates a block describing it's state of being produced. You are allow to limit the deepth of the search.
This script is included in the exemple library of the official Rebol web page.
This script patch the clean-path Rebol word and cleans-up '.' and '..' in path; returns the cleaned path. This script is smaller than the original, and works on an url !