I am working on a ftp client program and i wana know how to save password without creating a text file. If its possible to achieve this using xml or any other method please show me how.
If u have a project or sourcecode on this please upload it in to the following site:
<snipped url>

If the destination machine is MS-Windows system, then you could encrypt the password and store it in the registry.

Well the first question is "who are you trying to hide it from"?

At some point. you're going to have to decrypt it locally so that you can send it to the server "in the clear".

If you're on Windows, you could maybe store the password in the registry.
Edit::
BTW, if I remember good, then FileZilla standard stores the passwords in an xml file.
(FileZilla is written in C++, so you could maybe get your hands on the freely downloadable source code?)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.