Overview In Oracle Integration Cloud (OIC), there are scenarios where we need to receive files directly from an external application through a REST API and then place those files into an SFTP location. Usually, files like CSV, ZIP, PDF, or other binary content are handled as file-based data. In this blog, we will see how to configure an OIC integration to accept a binary file as input through a REST trigger, write that file to SFTP in binary mode, and finally return a successful JSON response with file details. Use Case The requirement is to: Expose a REST endpoint in OIC. Accept a file directly as a binary payload. Write the received binary file to an SFTP directory. Return a JSON response containing file details such as: File name Directory Status Uploaded date This approach is useful when the source system sends the file directly in the REST request body instead of sending file content as Base64 or multipart form data.…