• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 204
  • Last Modified:

Setting TNMFTP Properties at runtime.

I am using a TNMFTP component and I would like to give the user the ability to save his username and password, however I do not want to create a file to hold this info.  I would like to have this information saved and be the default just as if I were opening object inspector and the default info is there under userId and password.  Is there a way to do this?
0
brettawv
Asked:
brettawv
  • 2
1 Solution
 
LischkeCommented:
Hi brettawv,

you can easily store the value the user entered in the registry. To make it safe you can use some encryption already posted a few days ago here in the Delphi area. On program startup you would read the values then from the registry, decipher them and assign them to the TNMFTP component.

Ciao, Mike
0
 
brettawvAuthor Commented:
Comment accepted as answer
0
 
brettawvAuthor Commented:
Thank you.  I was able to dig up some of the already existing info on this and it really helped.

Brett
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now