on 11-19-2014 11:48 AM
Hi, Experts
We have an issue in our SFTP to RFC scenario. The sender communication channel is showing an error when the option "Arquiving on SFTP Server" is selected (Exception received: java.lang.StringIndexOutOfBoundsException: String index out of range: -1). Below the print of configuration and the log error. We have checked the connection and it is ok, the user has full access to the directory and the file content was tested. We try to send an empty file as well but the same error occour.
Is there a module problem? Do someone have passed by the same problem?
P.S. If the option "Archive Files on SFTP Server" is unchecked the file is processed with success.
Error log:
Thanks,
Halsen
Hi All,
We've decided to open an Incident on SAP Service.
They answer was to install the sap note below.
2049494 - Renaming archived files with proper nomenclature in SFTP adapter
The basis team will deploy it.
Thanks all for the support.
Regards,
Halsen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We verified that is not necessary a extension in the file but just a "." (dot) in any place of
the file name the channel process the file with success.
We are using the mask .*._cb_.*.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Halsen,
Please check the file naming convention also. The file extension is missing in the file name. You cannot create a file without an extension. Change it and then try. It will work.
Regards,
-Partha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Partha,
We tryed changing the extension file name as .txt and it worked.
But why the file is processed even without the file extension when the arquive flag is unchecked?
Theoretically, it wans't to work as well...
Do you think there are other solution because we can't change the extension file.
Regards,
Halsen
Hi Halsen,
Please check the "path" (location) that you have provided to archieve. It seems that either the path is incorrect or the user needs authorization to write a file there.
Regards,
-Partha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Partha,
The "path" location on "Arquive Name" for arquiving files is correct. We have checked and the user has full access to the directory.
We try to use de same directory as Source and Arquive. If the Arquive flag is unchecked the file is processed succefully.
Below you can see the source path:
Regards,
Halsen
User | Count |
---|---|
89 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.