anybody who are able to use the sftp module using ...
# suitescript
e
anybody who are able to use the sftp module using the private keys uploaded on Setup > Company > Keys?
s
I haven't actually tried it but it looks straightforward. What isn't working for you?
e
I don't know how to use the keys to the sftp module
s
after you add a key, try setting the
keyid
field on the
sftp.createConnection()
to the internal id of your previously uploaded key. (going from memory there, so the sftp connection creation function name might be different)
👍 1
e
thank you i'll try that
got it working, thanks
s
👍