🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: scipt ftp

#1707
From: XimoNW
Date: Wed, 31 Aug 2005 10:41
63 lines
2769 bytes
gamo escribi�:
> On Tue, 30 Aug 2005, XimoNW wrote:
> 
>> Hola a todos
>>
>> Quiero automatizar una transferencia por ftp y me preguntava si podia 
>> realizar un script que me conectara al servidor ftp, se situara en la 
>> ruta adecuada, tomara el archivo del equipo y se desconectara. Es 
>> posible?,
>>
>> gracias.
>>
> 
> Antiguamente se hacia as�, 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�]
> 
> Pero hoy d�a no merece la pena: puedes usar wget o el mc
> Saludos,
> 
Mi script para probar es:

	open 192.168.1.31
	user usuario pasword
	bye


Y la salida que obtengo del nohup.put es:

       'AUTH': command not understood.
       'AUTH': command not understood.
       KERBEROS_V4 rejected as an authentication type
       Password:Name (192.168.1.31:root): 'AUTH': command not understood.
       'AUTH': command not understood.
       KERBEROS_V4 rejected as an authentication type
       Password:Name (192.168.1.31:root): 'AUTH': command not understood.
       'AUTH': command not understood.
       KERBEROS_V4 rejected as an authentication type
       Password:Name(192.168.1.31:root):ftp:192.168.1.31:xnw:unknown host
       ?Invalid command
       Not connected.
       Not connected.
       Not connected.
       'AUTH': command not understood.
       'AUTH': command not understood.
       KERBEROS_V4 rejected as an authentication type
       Password:Name(192.168.1.31:root): Please login with USER and PASS.
       Please login with USER and PASS.
       KERBEROS_V4 rejected as an authentication type
       Password:Name(anubis.uji.es:root): 'AUTH': command not understood.
       'AUTH': command not understood.
       KERBEROS_V4 rejected as an authentication type


por si os sirve para que me ayudeis en algo...
Technical Details
Message-ID: <3nlfqkF22njjU1@individual.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <3niq8hF1o8odU1@individual.net> <Pine.LNX.4.63.0508301628070.27280@jvz.es>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,217cb3188ddb1207
X-Google-Attributes: gidf86c8,public
X-Google-Language: ENGLISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: XimoNW <elrei69@yahoo.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: scipt ftp
Date: Wed, 31 Aug 2005 12:41:23 +0200
Lines: 63
Message-ID: <3nlfqkF22njjU1@individual.net>
References: <3niq8hF1o8odU1@individual.net> <Pine.LNX.4.63.0508301628070.27280@jvz.es>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net CLWilTNoRd9a9I4aOASHMwmiD4QBxC8fM/tMAm+kH/f6xnB2XW
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: es-es, es
In-Reply-To: <Pine.LNX.4.63.0508301628070.27280@jvz.es>