Overview
Contains multiple Smart Services for interacting with a remote file server via SFTP, FTP, or SCP. Using these services, an Appian application can be configured to send and receive files, folders, and metadata in a process. Features support for zlib compression.
Key Features & Functionality
Smart Services included:
All smart services in the package use Secure Credentials Store.
Appian Solutions Appian Community andrese378
I am trying to create folder over sftp, but receiving below error. But when I did ssh and able to manually create a folder in the same location with the same user. Initially for Remote Folder Path, tried with actual base folder location and actual folder to be created but received same below Nullpointer exception. Then created a new parameter newDirectoryName, still received same error.Could you please help me why I am facing this issue?Inputs configured to the smart service:File Transfer Configurations:
'type!{plugins.ps.appiancorp.com/.../}FT_Config'( serverHostName: 'hostname', serverPort: 22, scsExternalSystemKey: 'SCS_key',)
Remote Folder Path : Actual Path where folder to be created.newDirectoryName: New directory name to be created.Error:2024-02-26 06:11:58,450 [Appian Work Item - 1508821 - WorkID 727 - execution02 - process 538855364 - model 15269 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ps.plugins.filetransfer.sftp.CreateFolderOverSFTP - java.lang.NullPointerException
If you pass usePerUserCredentials: false() it should work and if using then userCreds then it should be true()For instance: = 'type!{plugins.ps.appiancorp.com/.../}FT_Config'( serverHostName: "", serverPort: , scsExternalSystemKey: "", usePerUserCredentials: false())