12-21-2023 06:23 AM
Hi,
I need to deliver a file to a sftp server that doesn't require a private key. I'm able to connect to it from terminal with command "sftp -P 22010 uni@ftp.server.gov" then it request a password, I enter it and I'm in. It also works from WinSCP just by setting address, user and password.
The think I can't do the same via Snaplogic. The SSH Account snap Private Key field is required and it won't connect without it. How can I connect to this SFTP server with Snaplogic?
12-21-2023 08:05 AM - edited 12-21-2023 08:22 AM
Hello, You can setup a Binary account and then Basic Auth if you just want to provide username and password:
12-21-2023 10:15 AM
Thanks for the answer, I tried this and I'm getting the following error:
Failure: Unable to read from sftp://ftp.server.gov:22010/, Reason: java.io.IOException: Failed to get SFTP session connected, Resolution: Check for URL syntax and file access permission
There is no file or folder in the ftp, so i should just connect to root.
12-22-2023 05:25 AM - edited 12-22-2023 05:33 AM
When you connect via WinSCP are you behind a firewall?
Is sftp://ftp.server.gov:22010 readily accessible over the internet?