Topic "Generating WinSCP.ini Passwords with PHP"

Author Message


Hi, i need a little help - is there a way to generate the encrypted passwords in php? so i have a php-plattform with many ftp's stored - want to "import" that data to the winSCP.ini, but i need to know the encryption?

or is that a bad answer, because its not save anymore? sry if i breake the rules or something like Rolling Eyes

hmmm or is there a commandline feature to generate sessions? but the exec way in php is not the better way ^^

(sry for my bad english)
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26858
Location: Prague, Czechia
You can of course reimplement WinSCP password encryption in PHP. Take a look at the code. Or you can save the password unencrypted:
Martin Prikryl


hm i dont know to look in the code, can you post me the algorithm or something like?
i dont want it to post it plain, thats not save enough ^^

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License