Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2009
    Posts
    2

    Unanswered: Redirect command confirmation

    Hi there,

    I am not a shell script programmer. The following is the situation, a little Unix Shell script takes care of setting up a filetransfer connection, FTP of a file, shutdown the connection en move the file to an other folder (Archive). The script is started unattended during the night.

    There is no redirection of each performed line command acknowledgement line to a log file. In the morning I onle can see a moved to Archive file, but never a confirmation if the FTP was succesfull. What do I need to do to capter the line command confirmation in a log file?

    Any tips for me?

    Regards,
    Ton

  2. #2
    Join Date
    Sep 2009
    Location
    Ontario
    Posts
    1,057
    Provided Answers: 1
    add the -v option to the ftp command.

    ftp -v host <input.commands

  3. #3
    Join Date
    Dec 2009
    Posts
    2
    Thanks.

    Ton

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •