Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

UU Encode / Decode files

Posted on 2003-03-19
5
Medium Priority
?
621 Views
Last Modified: 2010-04-16
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)

0
Comment
Question by:wqclatre
  • 2
  • 2
5 Comments
 

Expert Comment

by:da-vinci
ID: 8169856
Use EncodeString:

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.
0
 
LVL 2

Author Comment

by:wqclatre
ID: 8171883
I cant still figure out how to encode a file that I have on the disk....
0
 
LVL 3

Expert Comment

by:emadat
ID: 8174778
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,
0
 
LVL 2

Author Comment

by:wqclatre
ID: 8177216
Well it does not since it says that
This page is not available.
0
 
LVL 3

Accepted Solution

by:
emadat earned 200 total points
ID: 8177257
Right click on the link and select "Save target as".

If this did not work for you, give me your email and I will post it to you

Emad
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

564 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