Dear all,
we are currently migrating an interface for file transfer from another product to the local PI 7.11 system.
For this we have to rely on the new SAP SFTP adapter and the PGP module.
Now as we're in the testing stage of the interface configuration we experience a strange error which is not documented in the official documentation.
Connection is configured as sender sftp channel by using an http proxy (which is offically supported and works fine when using the SFTP adapter in a receiver channel configuration with the same hostname/IP address and host ssh key and user credentials).
Server key is correct as we can establish a connection by itself, but immediately afterwards we get the following error:
"Exception received: 4: cd to /Accounting/ failed".
Source directory is configured as "/Accounting" as this is shown in WinSCP as the complete path after logging in with the same credentials and the same proxy settings as the remote path.
We even tried some different settings like "~/Accounting/", "Accounting/" and "\Accounting", but to no avail.
As it is working correctly in WinSCP we don't think that the error is with the SFTP server as we don't have problems with other systems connecting to the SFTP server via the local http proxy.
Does anyone know what the error message means, despite the fact that the system cannot change to the specified directory?
Any idea for what we could look for in our configuration?
Writing to the specified directory is possible via the SFTP adapter in a receiver channel configuration btw., so we are a bit lost at the moment.
Best regards,
Peter Hermanns
Just a thought. If it is unix it should be /Accounting only... Plus when you navigate to the path please check where your are currently located first... otherwise go to root directory and navigate to the Accounting directory path and use that path as change directory command.
Note: Also check whether you have user priviledge to access that directory .
Hope that helps.
Have done a bit testing with sftp on the command line.
SFTP adapter still shows the error as described and this is what's showing on the command line:
I've masked sensitive data, but the important parts are still visible. The channel is configured like this:
Best regards,
Peter
Hi Peter,
I have experienced same error in the past. Issue was with incorrect naming of file.
Try providing exact name of file and it will work.
Note: *.* will not work for SFTP Adapter, instead use regular expression format
Thanks
Rakesh
Add a comment