SFTP Send File to a remote server

Certified Associate Developer

Hello,

I'm trying to send a file from my Appian application to a remote server that has its own hostname, username, password, and key file. I have implemented the process to do this.

While attempting to connect to this remote server, I have configured the file transfer configuration like this:

'type!{plugins.ps.appiancorp.com/.../}FT_Config'( serverPort: 22, serverHostName: cons!ETT_HostName, privateKeyFile: cons!ETT_SERVER_PRIVATE_KEY_RSA )

However, I still don't know how to successfully connect to the server, even though the process does not throw any errors. How can I resolve this? I'm really stuck; I can't find documentation, tutorials, or even an explanation of how the plugin works for beginners, which is a very terrible thing for such an important plugin.

The problem is that the process is not throwing any errors and there's no logic to connect to the server without the username and password.

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Senior Developer
    in reply to hamzas0003

    Hello!

    I'm experiencing the same issue you had. I have configured the scsExternalSystemKey, but only with the username because I don't have a password. I assume that if I have a private key file, the password is not necessary, but I'm not sure.

    On the other hand, you mentioned that the privateKeyFile was causing authentication issues. Could you share the issues you had and how you fixed them? Just in case I encounter similar problems with my privateKeyFile.

    Thank you!

  • I assume that if I have a private key file, the password is not necessary, but I'm not sure

    This is something you need to discuss with your sFTP administrator.  Did they tell you to provide a private key file?  If your sFTP login is really a username only and no password (and you can login that way with a regular FTP client like fileZilla), then you probably don't need the key file.