A simple implementation to get ssh keys to be able to be used with the plugin as I have only access to my SFTP server with ssh keys and decided to figure out how to modify the code to allow for this.
I have tested this and it does work as i also use a passphrase for my key file so i decided the easiest solution is to use the password field as the ssh key passphrase if the key file is specified
What might be needed is to check if the file actually exists but this works for my need and i cant spend much more time on it.
A simple implementation to get ssh keys to be able to be used with the plugin as I have only access to my SFTP server with ssh keys and decided to figure out how to modify the code to allow for this.
I have tested this and it does work as i also use a passphrase for my key file so i decided the easiest solution is to use the password field as the ssh key passphrase if the key file is specified
What might be needed is to check if the file actually exists but this works for my need and i cant spend much more time on it.