cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

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

0 Likes
View Entire Topic
Former Member
0 Likes

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

Former Member
0 Likes

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

Former Member
0 Likes

Is it an empty file that you are trying to process?

>>>We try to use de same directory as Source and Arquive. If the Arquive flag is unchecked the file is processed succefully.


May be that could be the issue. Try configuring some other directory as archive folder on the SFTP server.

Former Member
0 Likes

Hi Hareesh,

We already try to use a different directory in the arquive folder but the same error occour.

Thanks,

Halsen