Topic "Generating WinSCP.ini Passwords with PHP"

Author Message
Anja

Guest


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)
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
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:
https://winscp.net/eng/docs/custom_distribution#distributing_passwords
_________________
Martin Prikryl
Anja

Guest


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 ^^
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License