howdy list,

This doesn't seem to be the time to be asking *really* easy
questions, but I'm frustrated enough to go for it anyway.

this is ftpdownload.r, sans the interactive part.

site: ftp://ftp.rebol.com/pub/downloads/

pattern: "*.gz"

files: read site

foreach file files [
    if find/match/any file pattern [
            write/binary file read/binary site/:file
        ]
    ]
    
what I can't seem to do is have this fetch "*.gz" files, but not "gz.bak"
files.  I don't want the backups (later, I'll modify this to delete them).
of course, the site and pattern have been changed to protect the innocent.

thanks for your patience...   


--

Spend less time composing sigs.
-tom

Reply via email to