Hi /Viewers
 
 
Considering the following code:
 
REBOL[]
 
reads-dir-savesFTP: func [
                          dir [string!]  {folder to read}
                          folder [url!]  {FTP folder where to save files}  
    ] [
       dir_xport: read to-file dir
       pattern: "*.txt"
       foreach file dir_xport [ 
           if find/match/any file pattern [
               print ["Trasferring file" :file]
               write/binary folder/:file read/binary dir_xport/:file
           ]
       ]
    ]
 
read-dir-savesFTP "/c/windows/my documents/" "ftp://user:[EMAIL PROTECTED]/"
 
Using /View, wich is the simplest way of redirecting  issues printed with the command
 
  print ["Trasferring file" :file]
 
to a window with some kind of scroll so I can later review all printed strings?
 
Thank you all
 
Carlos Lorenz

Reply via email to