cancel
Showing results for 
Search instead for 
Did you mean: 

Error while posting .ZIP file

Former Member
0 Kudos

Hi All,

I am working on file to file scenario.. I want to post .zip file from source to target. I am not using any mapping for this... I m using the Integrated configuration for theis scenario.. We are using sFTP advantco adapter for both sender and receiver.

I am able to post the .zip file with size 50KB only.

If i send .zip file with more than 50KB size, sender channel picked the file but i am getting the below error in the receiver communication channel.

Error: Cannot write content to remote file XXXX: Possible causes: SFTP connection is broken or remote file/directory is in use: java.lang.ArrayIndexOutOfBoundsException: (Software version: 3.0.17)

How to transfer .zip files with more than 50KB size.

Thanks,

Soumya.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

As per the logs there is no issue with FTP mechanism, it seems the problem is with some othter process is accessed the file that time or the file was not written completley.

Former Member
0 Kudos

Hi Soumya,

I see no reason to use sFTP or advantco for this.

you can config this scenario using PI regular File adapter, and PI regular File to File scenario.

in your case you just create an empty DT without fields in Repository, you need to create interfaces (OB,IB) for the Configuration

this works for me in many scenarios.

Former Member
0 Kudos

This is the prob with the receiver sFTP advantco adapter.

Thanks,

Soumya.