in reply to Re: feeding stdin of executed command and store stdout in $var
in thread feeding stdin of executed command and store stdout in $var

i want to list the ftp, and than download some files, not all
after de "ls" i want to send other command
but before send other command i want to read what files are in ftp
  • Comment on Re^2: feeding stdin of executed command and store stdout in $var

Replies are listed 'Best First'.
Re^3: feeding stdin of executed command and store stdout in $var
by Corion (Patriarch) on Jan 25, 2017 at 13:42 UTC

    Thank you for clarifying what you intend to do.

    Have you tried using Net::FTP instead of lftp? In what way was it unsuitable for your needs?