Transfer of large files (>2Gb) via FTP Adapter results in incomplete file of size 2147483647 bytes
(Doc ID 1240517.1)
Last updated on MARCH 28, 2019
Applies to:Oracle(R) BPEL Process Manager 10g - Version 10.1.3.5.0 and later
Information in this document applies to any platform.
***Checked for relevance on 23-October-2013***
You have developed a composite application running on Oracle Application Server 10g 10.1.3.5.0 which executes a BPEL process that uses the extended FTP Adapter specification (oracle.tip.adapter.ftp.outbound.FTPIoInteractionSpec) providing additional operations to support the transfer and copying of files from an FTP server to a local directory.
Some of the files which are copied by the process are greater than 2Gb in size and when copy these large files the BPEL process does not throw an error but fails to copy the entire file to the targeted local directory.
While receiving bytes for the file received from the targeted FTP Server, the received chunks are used to incrementally build (at a temporary location) a partial copy of the file, until it is completed. Once the file has been fully received, the FTP Adapter then copies the file to the final location as identified by properties set on the FTP Adapter instance.
The temporary location of the partial file built during the transfer is located at a temporary location whose location matches the following pattern:
When encountering this issue a partial copy of the file transferred, with a size of 2147483647 bytes (almost exactly 2Gb), will be left at this location.
The issue can be encountered when running both the 32bit and 64bit JDK but may be more easily reproducible when using the 32bit JDK.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document