Solved

Setting TNMFTP Properties at runtime.

Posted on 2000-05-17
3
174 Views
Last Modified: 2010-04-04
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
Comment
Question by:brettawv
  • 2
3 Comments
 
LVL 10

Accepted Solution

by:
Lischke earned 100 total points
ID: 2817659
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
 

Author Comment

by:brettawv
ID: 2864393
Comment accepted as answer
0
 

Author Comment

by:brettawv
ID: 2864394
Thank you.  I was able to dig up some of the already existing info on this and it really helped.

Brett
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now