Re: Non interactive ftp
From: Robert Binkley (leebinkley_at_YAHOO.COM)
Date: 09/17/05
- Previous message: Lloyd Dieter: "Re: Non interactive ftp"
- In reply to: Damir Delija: "Re: Non interactive ftp"
- Next in thread: alweston: "Re: Non interactive ftp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 17 Sep 2005 06:06:06 -0700 To: aix-l@Princeton.EDU
ftp
prompt
mget *
--- Damir Delija <ddelija@PUBLIC.SRCE.HR> wrote:
> On Fri, Sep 16, 2005 at 05:08:19PM +0500,
> Faisalq@CYBER.NET.PK wrote:
> > Hi,
> >
> > Currently when we do ftp host, it asks for
> userid/password and then
> > put/get needs to be entered.
> >
> > How can this be done in batch mode, so that all
> files to be transferred
> > can be specified in one go and userid/password
> prompt is also not
> > displayed.
> >
> > Thanks.
>
> Hi !
>
> You can use .netrc mechanism to authenticate user
> and do transfer trough script, in here document
>
> like
>
> ftp host << EOF
> comands
>
> EOF
>
> but I suggest to use perl and net module
> you'll have full program control on transfer
>
> it is much more flexible but not so usuall,
> there are exmaples in "perl cookbook" by Oreyli
>
> Damir
>
Robert Lee Binkley leebinkley@yahoo.com
IBM AIX Specialist Certified
HP-UX System Administration Certified
Work It's Nice To Be Important But It's More Important To Be Nice
- Previous message: Lloyd Dieter: "Re: Non interactive ftp"
- In reply to: Damir Delija: "Re: Non interactive ftp"
- Next in thread: alweston: "Re: Non interactive ftp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|