Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

FTP script

 [1/5] from: carlos:lorenz:gmai:l at: 8-Feb-2008 10:37


Hi list, Anyone can give me a better (faster) way of transferring files than this one? ;--------- files: read rejoin [ftp://user:pass-mysite.com.br/lixo1/ :file] foreach file files[ write rejoin [ftp://user:pass-mysite.com.br/lixo2/ :file] read rejoin [ ftp://user:pass-mysite.com.br/lixo1/ :file] print [:file "transferred"] ] ;---------- Thanks -- Carlos Lorenz

 [2/5] from: carlos:lorenz:gm:ail at: 8-Feb-2008 10:40

FTP script (error)


Hi There's an error at line 2 that should be this one: files: read ftp://user:pass-mysite.com.br/lixo1/ tks -- Carlos Lorenz

 [3/5] from: sqlab:gmx at: 8-Feb-2008 16:20

Re: FTP script


Hi Carlos This is not really faster, but less writing foreach file read ftp://user:pass-mysite.com.br/lixo1/ [ write ftp://user:pass-mysite.com.br/lixo2/:file read ftp://user:pass-mysite.com.br/lixo1/:file print [file "transferred"] ] The limiting speed factor is not Rebol, but the I/O thru FTP. If your FTP server allows renaming, you can try to send rename commands thru the control port. regards AR Carlos Lorenz wrote:

 [4/5] from: sqlab::gmx::net at: 8-Feb-2008 18:13


I just checked the system/scheme/ftp. It does also allow renaming. So you can use the standard rebol way of renaming; use change! -------- Original-Nachricht --------
> Datum: Fri, 08 Feb 2008 16:20:40 +0100 > Von: sqlab <sqlab-gmx.net>
<<quoted lines omitted: 35>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail

 [5/5] from: carlos::lorenz::gmail::com at: 8-Feb-2008 15:38


Anton, Thanks for the reply! 2008/2/8, Anton Reisacher <sqlab-gmx.net>:
> I just checked the system/scheme/ftp. It does also allow renaming. So you > can use the standard rebol way of renaming;
<<quoted lines omitted: 53>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Carlos Lorenz www.revistaeletronica.com.br Unidade Lorenz Ltda (11) 4034 1971

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted