[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] FTP
From: |
Juari Ritter Müller |
Subject: |
Re: [shell-script] FTP |
Date: |
Mon, 18 Feb 2002 22:36:16 -0300 |
User-agent: |
Mutt/1.3.27i |
Que tal:
echo -e "open 100.100.10.1\nget arguivo.txt"|ftp
On Mon, Feb 18, 2002 at 08:11:21PM -0300, address@hidden wrote:
> Dae moçada...
> É o seguinte: como eu faco em uma linha (para ser executado no shell) somente
> os seguintes comandos:
>
> ftp << EOF
> open 100.100.10.1
> get arquivo.txt
> EOF
>
> Como eu faco isso tudo em uma linha somente? tente algo do tipo:
> [bash]$ ftp << EOF open 100.100.10.1 get arquivo.txt EOF
> só que nao funcionou...
> Alguem tem alguma idéia??
>
> Grato desde já
>
> João
>
>
>
> ------------------------------------------
> Use o melhor sistema de busca da Internet
> Radar UOL - http://www.radaruol.com.br
>
>
>
>
> Sair da lista: address@hidden
> Banco Dados: http://www.egroups.com/group/shell-script
>
> Seu uso do Yahoo! Grupos é sujeito às regras descritas em:
> http://br.yahoo.com/info/utos.html
>
--
Juari Ritter Müller mailto:address@hidden|
/J\_/U\_/A\_/R\_/I\ mailto:address@hidden|
\L/ \I/ \N/ \U/ \X/ mailto:address@hidden|
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GE d-- s: a18 C+++ UL++ 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 y?
------END GEEK CODE BLOCK------
- FTP, john_shell, 2002/02/18
- Re: [shell-script] FTP,
Juari Ritter Müller <=