Skip to main content
felixr
October 30, 2023
Question

How to send and retrieve a document using SFTP Functions (SFTP Smart Services)

  • October 30, 2023
  • 5 replies
  • 1 view

I'm trying the  plugin to upload an image but  for some reason I'm getting this error

 my plugin config is this

    5 replies

    stefanhelzle0001
    Brainy
    October 30, 2023

    I am pretty sure that you cannot use a single file as the private key file and the to-be-uploaded one.

    felixr
    felixrAuthor
    October 30, 2023

    Thanks for replying [mention:126a676c85024855948336691b0a7b92:e9ed411860ed4f2ba0265705b8793d05]  i tried removing the  private key file and now this is the error thant I'm  getting

    any suggestions that could help thanks in advance.

    stefanhelzle0001
    Brainy
    October 30, 2023

    Are you sure that pv!docID is the correct file and does exist?

    If yes, try to just assign pv!docID to the "Document to Send" parameter. The toDocument() call is not necessary. And open the expression editor for this field first and do it there. If you enter expression code directly into the field, Appian wraps it into quotes without showing you.