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.

 

[ keyring ]

Optional variable or string defining the location of an alternate GPG style keyring to import into. This option is deprecated and may be removed in a future version.

Options:

None

 

 

 

This script command imports a PGP key file (*.gpg; *.pgp; *.asc) or keyring file (*.pkr; *.skr; *.pubkr)  exported from Robo-FTP  or from another PGP encryption package.

 

The following example imports a key present in Robo-FTP’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