Encrypting a file using GPG or PGP encryption and then send the encrypted file over ftp using ASP.NET. Below I will explain the steps you will need to take in order to: Part 1: Theory * Install GnuPG. * Create a public key. * Import or Export your key. * Encrypt your file with GnuPGWrapper class. Part 2: Examples * Use GnuPGWrapper to encrypt a file. * Using ASP.NET to FTP the file.