@Di Martino, Raffaele Thanks for reaching out. Can you please validate this for Authentication and permissions as this could be reason you are getting the permission denied error. You cannot see more details from the run history error logs. But you can check the logs at your SFTP server end to get more details why it through Permission denied error.
When you create a connection to your SFTP server, you have to provide your SFTP server address, account credentials, an SSH private key, and the SSH private key password. If your platform supports uploading large files using chunking, you also need both read and write access for the root folder on your SFTP server. The SFTP-SSH connector supports both private key authentication and password authentication. However, the SFTP-SSH connector supports only the following private key formats, key exchange algorithms, encryption algorithms, and fingerprints:
- Private key formats: RSA (Rivest Shamir Adleman) and DSA (Digital Signature Algorithm) keys in both OpenSSH and ssh.com formats. If your private key is in PuTTY (.ppk) file format, first convert the key to the OpenSSH (.pem) file format.
- Key exchange algorithms: Review Key Exchange Method - SSH.NET.
- Encryption algorithms: Review Encryption Method - SSH.NET.
- Fingerprint: MD5. For more information, see Find the MD5 fingerprint. When you provide your SSH private key for your connection, don't manually enter or edit the key, which might cause the connection to fail. Instead, make sure that you copy the key from your SSH private key file, and paste that key into the connection information box. To correctly copy and paste your SSH private key, follow these steps. Open your SSH private key file in any text editor. These steps continue using Notepad as an example. In Notepad, from the Edit menu, select Select all. (Press Ctrl + A) From the Edit menu, select Copy. In the SFTP-SSH connection information box, paste the complete copied key into the SSH private key property, which supports multiple lines. Don't manually enter or edit the key. After you finish entering the connection details, select Create.