[REBOL] Re: FTP script
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;
> use change!
>
> -------- Original-Nachricht --------
> > Datum: Fri, 08 Feb 2008 16:20:40 +0100
> > Von: sqlab <sqlab-gmx.net>
> > An: rebolist-rebol.com
> > Betreff: [REBOL] 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:
> > > 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
> > >
> > >
> >
> > --
> > 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
> --
> 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