You are here

ServerFingerprint to Registry for FilezillaPortable

4 posts / 0 new
Last post
StefanPeter
Offline
Last seen: 10 months 13 hours ago
Joined: 2024-01-24 06:46
ServerFingerprint to Registry for FilezillaPortable

Hallo,

since some time we are using the FilezillaPortable as Filetransferclient in our software (downloading it when needed and starting it). We use it to connect to our own SFTP Servers in our client software. So we prepare the settings file and call the Exe/App set to a certain target url. We also retrieve the fingerprint for our servers in our software and put them in the registry under HKEY_CURRENT_USER\Software\FileZillaPo\PuTTY\SshHostKeys and put them in Data\settings\filezilla-putty.reg as well. This work with Filezilla 3.65.0. It stopped working with 3.66.4
I can see that the whole Registry entry is removed when Filezilla starts up.
What has changed in 3.66.4 to change this behavoir and is there a way to prevent showing the fingerprint warning to our customers (due to connecting to our own target sftp server)??

Thanks
Stefan

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 47 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
.reg file only

The filezilla-putty.reg file is loaded into the registry on start and removed on exit. Anything in HKCU\Software\FileZillaPo will be backed up and restored. Note that nothing should be in this registry key when FileZilla Portable isn't running as this key was created for FileZilla Portable only as I modify fzputtygen.exe and fzsftp.exe to use it instead of HKCU\Software\SimonTatham.

Are you running it via FileZillaPortable.exe only and not via FileZilla.exe directly?

Sometimes, the impossible can become possible, if you're awesome!

StefanPeter
Offline
Last seen: 10 months 13 hours ago
Joined: 2024-01-24 06:46
Thanks a lot for the insights

Thanks a lot for the insights. I removed the code altering the registry itself (I think it was a relic when using the non portable filezilla) and concentrated on the code altering the settings file. It was an error resulting in a file which was not recognized as registry .reg file.
Now it works as intended

Many thanks for the insight and fast response.

John T. Haller
John T. Haller's picture
Offline
Last seen: 1 hour 47 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Welcome

You're welcome. Glad it's working as expected.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments