wqclatre
asked on
UU Encode / Decode files
Hello.
I Like to uuencode and decode files to save them in a node in a xml document.
I can se that I have
IdEncoderUUE1: TIdEncoderUUE;
IdDecoderUUE1: TIdDecoderUUE;
on the indy misc tab of delphi 7.
How can I do to uuencode a file and put in a string variable. ( and do the same thing the other way. Decode it back)
I Like to uuencode and decode files to save them in a node in a xml document.
I can se that I have
IdEncoderUUE1: TIdEncoderUUE;
IdDecoderUUE1: TIdDecoderUUE;
on the indy misc tab of delphi 7.
How can I do to uuencode a file and put in a string variable. ( and do the same thing the other way. Decode it back)
ASKER
I cant still figure out how to encode a file that I have on the disk....
Download my unit from:
http://www.geocities.com/emadat/code/UUEncDec.zip
Each of the two functions provided accept a file name and returns a string.
Hope this will work for you.
regards,
http://www.geocities.com/emadat/code/UUEncDec.zip
Each of the two functions provided accept a file name and returns a string.
Hope this will work for you.
regards,
ASKER
Well it does not since it says that
This page is not available.
This page is not available.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Class function for encoding a String value.
class function EncodeString(const AIn: string): string;
Parameters
const AIn: string
Input value to be encoded.
Return Value
String - Encoded value of the input parameter.