on 04-09-2018 1:13 PM
Hi All,
I have to transfer large size files from AL11 to SFTP folder. File type is text. The size can be between 3 gb and 4 gb.
I was thinking to use File chunk option to transfer the files to SFTP.
https://blogs.sap.com/2010/10/18/pixi-pi-73-processing-of-large-files-teaser/
But as per SAP note 1783846, File adpter chunking option can be used with only File to File scenario.
I gave a try chunk mode for this File to SFTP scenario. But getting error in SFTP server.
i tried parameter in SFTP receiver "skipRemoteDirCheck true", but no luck, still same error. only first chunk is getting delivered to SFTP and rest are getting failed with below error.
===============xpi inspector Error log====================
Chunk is {0} Bytes 20971520
Trying to connect to host {0} 100.100.100.100
Filename is {0} TestFile.txt
Temporary Filename is {0} temp_chunkModef329e92d
Server is {0} 100.100.100.100
Home directory is {0} /
Path is {0} /test/
Writing to temp file: temp_chunkModef329e92d
MPEB_ERROR 4: Putting /test/temp_chunkModef329e92d failed
MP: exception caught with cause {0} javax.resource.ResourceException: 4: utting /test/temp_chunkModef329e92d failed.
AFW_ERROR 4: Putting /test/temp_chunkModef329e92d failed.
SEND_TRANSMIT_ERROR File_http://sap.com/xi/XI/System; com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.resource.ResourceException: 4: Putting /test/temp_chunkModef329e92d failed.;
===============xpi inspector Error log====================
Did anyone work on this kind of scenario, will file adpter file chunk option work with SFTP receiver?
Any other suggestion to handle this scenario.
Regards,
Muni
More Error trace:
Caused by: 4: Illegal offset when working on encrypted folder: 308
at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2916)
at com.jcraft.jsch.ChannelSftp.checkStatus(ChannelSftp.java:2529)
at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:727)
at com.jcraft.jsch.ChannelSftp.putWithoutRemoteDirCheck(ChannelSftp.java:596)
at com.sap.aii.adapter.sftp.ra.rar.integration.sftp.SSHConnection.send(SSHConnection.java:413)
SFTP team told that entire SFTP is encripted and append is not allowed. Closing this thread.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.