PGPIMPORT        Import a PGP key

Top  Previous  Next

Syntax:

PGPIMPORT

[ key file ] [ keyring ]

Arguments:

[ key file ]

A variable or string defining the file name of an exported key to import; if there is more than one key on the keyring FileLink will import only the first key.

 

[ keyring ]

Optional variable or string defining the location of the PGP keyring to import into; if omitted, FileLink expects the keyring file to be in the current working folder.

Options:

None

 

 

 

This script command imports a PGP key file exported from a FileLink keyring or from another PGP or GPG encryption package. This command requires that a keyring previously exist.

 

The following example imports a key present in FileLink’s working folder.

 

       PGPIMPORT "export_key.gpg"

 

The following example imports a key into a keyring present in the specified folder.

 

       PGPIMPORT "export_key.gpg" "c:\gnupg"

 

Related Command(s): PGPDECRYPT, PGPENCRYPT