?
Solved

UU Encode / Decode files

Posted on 2003-03-19
5
Medium Priority
?
597 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
[X]
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
  • 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

Industry Leaders: 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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

765 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