OL Learn

Adjusting SFTP Options outside those exposed by the plugin

Is there any way to adjust additional options not exposed by the SFTP plugin?

Getting an error stating options to change but not seeing this exposed by the plugin itself. Below is the error in workflow.

[0021] exception: - Upload of file ‘BPO_Print_and_Mail_UAT_04_20_2022_13_26.csv’ was successful, but error occurred while setting the permissions and/or timestamp.

If the problem persists, turn off setting permissions or preserving timestamp. Alternatively you can turn on ‘Ignore permission errors’ option.
The server does not support the operation.
Error code: 8
Error message from server (en): Operation unsupported
[0021] Error while executing plugin: Error while executing plugin.
[0021] SFTP/FTPS Output: W1603 : Plugin failed - 13:26:42 (elapsed time: 00:00:02.160)

Also, I’m being told the setting on the server cannot be altered.

Hi Brian,
This is a known issue with the current SFTP plugin. A recommended alternative is to use a third party application, like WinSCP, via the External Program plugin to perform the same function.

Best Regards

Justin Leigh

Since the SFTP plugin uses WinSCP itself, we ended up using the WinSCP instance in the plugin folder. We opened WinSCP.exe, modified the default transfer settings, and then simply used the external program plugin for each transfer. Since WinSCP returns a proper exit code we can even check to see if the transfer was successful.