;; ;; Encrypt file ;; PGPENCRYPT "datafile.txt" "datafile.txt.pgp" /encryptfor=username_for_recipients_key IFERROR RETURN ;; ;; Logon to FTP site ;; FTPLOGON "ManagedSite" IFERROR RETURN ;; ;; Upload encrypted file to FTP site ;; SENDFILE "datafile.txt.pgp" /delete IFERROR RETURN ;; ;; Clean up source file ;; DELETE "datafile.txt"