on 11-14-2012 1:40 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to let you know...
There is an update to the SFTP adapter which solves our problems with older releases of the WS-FTPs server by adding some advanced adapter options.
Best regards,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We got the package from
--> Support Packages and Patches
--> Browse our Download Catalog
--> SAP NetWeaver and complementary products
--> PI SFTP PGP ADDON
--> PI SFTP PGP ADDON 1.0
--> Comprised Software Component Versions
--> SFTP ADAPTER 1.0
--> #OS independent
--> PIB2BSFTP01_6-20009365.SCA dating from May 16th, 2013
Then you can add the following advanced parameters:
ignore.error.cd - true
ignore.error.ls - true
Best regards
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As i said... the configured source directory is "/Accounting" (without the quotation marks of course).
Access rights for the configured user are correct as far as i can tell, as we don't have any problems accessing the directory by using WinSCP and the exact same user.
When changing to /Accounting in WinSCP the path is shown above the directory/file-window, it's just showing "/" after login and "/Accounting" after changing the directory. That's why we configured /Accounting in the adapter configuration. With a receiver channel and using SFTP we can write into /Accouting, we just get the error when using the SFTP adapter as sender channel and /Accounting as source directory.
Best regards,
Peter
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.