Re: Davide Bianchi <davideyeahsure@onlyforfun.net> (was: Re: ftp -n linux equivalent)

From: Davide Bianchi (davideyeahsure_at_onlyforfun.net)
Date: 06/02/05


Date: Thu, 2 Jun 2005 16:11:51 +0200

On 2005-06-02, Thiko! <biwombi@hotmail.com> wrote:
> Anyway, my command file '$HOME/getfiles.ftp' is as follows:
>
> open server23
> user oracle password
> cd /ora2/backup/
> lcd /ora01/data/RESTORE
> prompt
> mget *
> cd /ora2/backup/arch
> prompt
> mget *
> quit

It looks fine. And if you type the commands at the ftp prompt
is working? Can't see anything wrong with it, unless for some
reasons your ftp can't resolve the servername.

Davide

-- 
Linux, DOS, Windows NT -- The Good, the Bad, and the Ugly


Relevant Pages

  • Re: Capturing FTP messages in a script ??????????
    ... > I have a script where I'm doing a FTP. ... > It consists of PROMPT followed by a MGET xxxx* followed by quit. ...
    (comp.unix.aix)
  • Re: Downloading files from a ftp server
    ... In order for mget to work, you have to toggle off what is called ... "interactive prompting" with the prompt command: ... Moving files also will not work. ...
    (microsoft.public.scripting.vbscript)
  • Re: Non interactive ftp
    ... >> Currently when we do ftp host, ... > userid/password and then ... > prompt is also not ...
    (AIX-L)
  • RE: Help : FTP A PDS
    ... [hit enter for every prompt - alternatively use the prompt command first to ... You can also disable the prompting during mget starting the FTP transfer if ... For IBM-MAIN subscribe / signoff / archive access instructions, ... send email to listserv@xxxxxxxxxxx with the message: GET IBM-MAIN INFO ...
    (bit.listserv.ibm-main)