Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

(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 or directly using the GnuPG Perl module as merlyn states.

Good Luck! ^-^


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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2019-08-21 15:50 GMT
Find Nodes?
    Voting Booth?

    No recent polls found