how to encrypt a csv file ?

Posted on 2010-01-11
Medium Priority
Last Modified: 2012-05-08
how to encrypt a csv that has to be uploaded in a ftp server by Adding a key to keyring and encrypting through the command prompt or line.
Dose this require a pgp to accompalish this?
Question by:czutshi
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2

Expert Comment

ID: 26283752
You can use PGP or there are a number of alternative products such as Becrypt ( www.becrypt.com ) or 7-Zip ( www.7-zip.org ) and many others.  Many only provide simple encryption with a password rather than the more sophisticated public key system such as PGP where encryption can be done with a public key that is not reversible without a separate private key.  So, it depends what you need.
LVL 12

Expert Comment

ID: 26284052
Yes. PGP command line utility is available free of cost from: http://www.pgpi.org/

To get a key from the key server and put the key on your keyring (requires two commands):

pgp -kx <userid> <keyfile> <URL>

pgp -ka <keyfile>

The following command can be used to encrypt the file:

pgp -e textfile recipient_userid

The encrypted file can now be uploaded to the ftp server.

There is also an option available to encrypt a message for viewing by recipient only. Use this command to specify that the recipients decrypted plaintext be shown only on the recipients screen and cannot be saved to disk:

pgp -sem <message.txt> <recipients_userid>

You can find more guidance about using PGP command line here:


Hope this helps.

Warm regards,
LVL 12

Accepted Solution

sarangk_14 earned 2000 total points
ID: 26284070
Alternately, you may find these two URLs useful:



Warm regards,

Featured Post

WatchGuard's M Series Appliances - Miecom Approved

WatchGuard's newest M series appliances were put to the test by Miercom.  We had great results and outperformed all of our competitors in both stateless and stateful traffic throghput scenarios! Ready to see how your UTM appliance stacked up? Download the Miercom Report!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Cyber News Rundown brings you the latest happenings in cyber news weekly. Who am I? I’m Connor Madsen, a Webroot Threat Research Analyst, and a guy with a passion for all things security. Any more questions? Just ask.
Check out the latest tech news, community articles, and expert highlights in August's newsletter.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question