Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: feeding stdin of executed command and store stdout in $var

by gabrielsousa (Sexton)
on Jan 25, 2017 at 13:35 UTC ( #1180292=note: print w/replies, xml ) Need Help??


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 (Pope) 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?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1180292]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2021-09-28 16:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?