Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

(fongsaiyuk)Re: Automating GPG with Expect

by fongsaiyuk (Pilgrim)
on Jan 15, 2001 at 19:35 UTC ( #51927=note: print w/replies, xml ) Need Help??


in reply to Automating GPG with Expect

Generally speaking, Expect is an effective tool to use when you are trying to automate a process that is highly interactive. Some uses would include automating an FTP session to download patches, or automating a telnet session to run reports from an ERP system.

Basically "headless" operation. ^-^

Where I work I use expect to download virus DAT files from McAfee's ftp site.

If you seek to interact with Telnet or FTP servers, you can accomplish pretty much the same functionality by using Net::FTP or Net::Telnet.

More esoteric interactions, such as yours I'm sure, would be better solved with Expect.pm or directly using the GnuPG Perl module as merlyn states.

Good Luck! ^-^

fongsaiyuk

  • Comment on (fongsaiyuk)Re: Automating GPG with Expect

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://51927]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2018-06-18 11:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (109 votes). Check out past polls.

    Notices?