🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #1701

Re: scipt ftp

#1701
From: gamo
Date: Tue, 30 Aug 2005 14:32
40 lines
1994 bytes
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323328-8622099-1125412358=:27280
Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

On Tue, 30 Aug 2005, XimoNW wrote:

> Hola a todos
>
> Quiero automatizar una transferencia por ftp y me preguntava si podia=20
> realizar un script que me conectara al servidor ftp, se situara en la rut=
a=20
> adecuada, tomara el archivo del equipo y se desconectara. Es posible?,
>
> gracias.
>

Antiguamente se hacia as=ED, con un  nohup ftp < ftp.in
donde ftp.in era del tipo

open server.com
user anonymous password
bin
cd /pub/loquesea
mget *
bye

[algo as=ED]

Pero hoy d=EDa no merece la pena: puedes usar wget o el mc
Saludos,

--=20
http://www.telecable.es/personales/gamo/
GED/GB d+ s+:+ a C++ U+++ P+++ L++ E---- W++ N++ o K+ w O+ M- V
PS++ PE++ Y PGP+ t 5-- X+ R-- tv-- b++ DI++ D+ G- e+++ h+ r-- z
perl -e 'print 111_111_111**2,"\n";'
--8323328-8622099-1125412358=:27280--
Technical Details
Message-ID: <Pine.LNX.4.63.0508301628070.27280@jvz.es>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!cox.net!news-xfer.cox.net!opentransit.net!newsfeed.telecable.es!cm-85-152-80-110.telecable.es!amo
References: <3niq8hF1o8odU1@individual.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,217cb3188ddb1207
X-Google-Attributes: gidf86c8,public
X-Google-Language: SPANISH,ASCII
Newsgroups: es.comp.os.linux.programacion
Date: Tue, 30 Aug 2005 16:32:38 +0200
From: gamo <gamo@telecable.es>
X-X-Sender: amo@jvz.es
Reply-To: gamo@telecable.es
Subject: Re: scipt ftp
In-Reply-To: <3niq8hF1o8odU1@individual.net>
Message-ID: <Pine.LNX.4.63.0508301628070.27280@jvz.es>
References: <3niq8hF1o8odU1@individual.net>
MIME-Version: 1.0
Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-8622099-1125412358=:27280"
NNTP-Posting-Host: 85.152.80.110
X-Trace: filemon1.isp.telecable.es 1125411944 85.152.80.110 (30 Aug 2005 16:25:44 +0200)
Organization: TeleCable, S.A.U.
Lines: 40
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!cox.net!news-xfer.cox.net!opentransit.net!newsfeed.telecable.es!cm-85-152-80-110.telecable.es!amo