SFTP code

Discuss new features and functions
Posts: 4
Joined: 5 Mar 2016

dmginc

I was having a look at the FFS source code and was wondering where the code that hashes the SFTP password (before it is stored in the FFS batch/sync files) is exactly?

We are calling FFS in batch mode from another piece of software (which actually generates the XML batch files) and wanted to provide the user with a dialog to enter SFTP credentials. So basically, I want to be able to generate the hashed (base64) password from the user-inputted password just like FFS does (so we can insert it into our generated batch file and it can be used by FFS).

Any ideas?