Re: Non interactive ftp

From: alweston (alweston_at_NEWSCENE.COM)
Date: 09/16/05

  • Next message: Lloyd Dieter: "Re: Non interactive ftp"
    Date:         Fri, 16 Sep 2005 16:25:59 -0400
    To: aix-l@Princeton.EDU
    
    

    A .netrc file helps, but it's far from ideal. Using .netrc files exposes
    you to other security issues. If you must use ftp (why not use scp or
    sftp?) ncftp provides an excellent command line tool.

    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.


  • Next message: Lloyd Dieter: "Re: Non interactive ftp"

    Relevant Pages

    • SYSCONF and FTPIT jobs
      ... Before I start hacking at the FTPIT job I ... The target host is SELinux enabled and uses vsftpd as the ftp daemon. ... it seems to me that the info in the netrc file is not being used or is ...
      (comp.sys.hp.mpe)
    • Re: need help
      ... You can also do this by automating an ftp transfer. ... create a .netrc file on the source system. ... automate ftp. ... mput /mydir/subdir1/* ...
      (comp.unix.aix)
    • Re: .netrc permission denied AIX 4.3.3
      ... > I'm trying to set up an automated ftp process, this is the .netrc file. ... > This is the response I get when I try to run an ftp to the machine webtest. ...
      (comp.unix.aix)
    • Re: Automatic Login using ftp
      ... > netrc - file for ftp remote login data ... > The .netrc file contains data for logging in to a remote ... Error - .netrc file not correct mode. ... plus i mentioned ftp -n remotemachinename (rather i shouldn't have ...
      (comp.unix.shell)
    • ftp-client w/o controlling tty
      ... want the ftp client to use my .netrc file. ... The cgi script is ... using the .netrc file, and of course fails. ...
      (Tru64-UNIX-Managers)