Hi,
Maybe you should pad this string to 4 before encoding it ?
Cheers,
Pieter
On Tue, 25 Aug 2009, Robert martin wrote:
Hi
I have a set of functions (not written by me) that encode and decode
mime64 data. I want to take a file and mime64 encrypt it than at a
later point decrypt it.
i use the Free DIMime under Sourceforge.. works perfectly has lots of
options.
On Tue, Aug 25, 2009 at 2:46 PM, Pieter De Wit pie...@insync.za.net wrote:
Hi,
Maybe you should pad this string to 4 before encoding it ?
Cheers,
Pieter
On Tue, 25 Aug 2009, Robert martin wrote:
Hi
I
Hi
I have a set of functions (not written by me) that encode and decode
mime64 data. I want to take a file and mime64 encrypt it than at a
later point decrypt it. However I am having trouble calling the
functions and there is no help.
Functions
function Base64Encode(const InText: string):
Doesn't Indy have a bunch of Mime encoding components?
Alister Christie
Computers for People
Ph: 04 471 1849 Fax: 04 471 1266
http://www.salespartner.co.nz
PO Box 13085
Johnsonville
Wellington
Kyley Harris wrote:
i use the Free DIMime under Sourceforge.. works perfectly has lots of
You are 100% correct. The issue was with TStringList. Replaced it and
it works like a charm :)
Thanks
Jolyon Smith wrote:
I would say there doesn't appear to be anything wrong with that code, so my
next question would be what are these Base64xxx functions and are you
certain that
I would say there doesn't appear to be anything wrong with that code, so my
next question would be what are these Base64xxx functions and are you
certain that they are working correctly?
Or perhaps show us the code you use to write the Base64Encode'd result to
the file that your decode code then
Title: Robert Martin
Hi
Worked out the problem !
I was using a Tstringlist for loading and saving to files in some
places. Replacing this with TFileStream fixed the issues. My Mime64
encoded and decoded file has the same CRC as the original. Feels good
:)
Thanks for the suggestions anyway !
Is there a simple way to alter the size of an existing file - particularly to
decrease the size?
If increasing I can append some blank data on the end no problem using
TFilestream, no problem.
The thing I am not sure about is if I can DECREASE the size of a file by a
known number of bytes