Corrupt file issue?

David Shaw dshaw at
Tue Jun 27 20:08:14 CEST 2006

On Tue, Jun 27, 2006 at 11:02:16AM -0500, jkaye wrote:
> Hello all,
> I've had some success solving problems here before thanks to the 
> kindness of many of you and thought I would give this another try.
> We've got an intermittent issue (about once a week) where a daily
> process that generates a text file, encrypts it and transfers it by
> FTP will sometimes create a file that the recipient cannot decrypt.
> If I run the process again, it will produce an encrypted file which 
> is a few bytes smaller than the original file.  This new file can
> be decrypted by the recipient without a problem.

You're sending the file by ascii FTP.  That will corrupt binary data.
You need to transfer with binary FTP.  There are far too many FTP
clients out there for me to tell you how to set your particular client
to binary, but check the manual.


More information about the Gnupg-users mailing list