Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PGP encryption and FTP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01210392
Message ID:
01210409
Vues:
22
>Hi Michael,
>
>>I have a developer that needs to encrypt/decrypt files and FTP them preferably from VFP. Any recommendations on PGP encryption software that can run from VFP.
>
>In my FPDOS application I use GnuPG (http://www.gnupg.org/) for that. It can be called from the command line using RUN, ShellExecute or CreateProcess. The command line to encrypt files looks like this:
>
>
>lcCmd = AddBSEx(paConfig[2]) + [GPG.EXE --default-recipient "] + ;
>    paConfig[6 ] + [" --batch -o "] + m.tcEncFile + [" -e "] + m.tcFile + ["]
>
>
>After that I call FTP.EXE with a script to send the encrypted file. With VFP I'd probably use an API function for submitting data via FTP, though.

Thanks for the info.
Michael McLain
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform