My Oracle Support Banner

FTP Adapter Only Picks Up File Once Although "Recursive" Is Set To True (Doc ID 1296819.1)

Last updated on AUGUST 10, 2018

Applies to:

Oracle SOA Platform - Version: and later   [Release: 11gR1 and later ]
Information in this document applies to any platform.


You've set up an FTP adapter to read files from an FTP site using SFTP.  When testing, you upload a file onto the FTP server, and this file is picked up successfully and deleted from the polled directory (as expected). You then upload the same file again, but this time the file was not picked up. If you redeploy the SOA composite, the file will be picked up as normal.

The .jca file for your adapter looks something like:

<adapter-config name="ExternalFTPAdapter" adapter="Ftp Adapter" wsdlLocation="ExternalFTPAdapter.wsdl" xmlns="">
   <connection-factory location="eis/Ftp/FtpAdapter" UIincludeWildcard="filename*.*" adapterRef=""/>
   <endpoint-activation portType="Get_ptt" operation="Get">
     <activation-spec className="oracle.tip.adapter.ftp.inbound.FTPActivationSpec">
       <property name="FileType" value="ascii"/>
       <property name="UseHeaders" value="false"/>
       <property name="PhysicalDirectory" value="/INPUT"/>
       <property name="Recursive" value="true"/>
       <property name="DeleteFile" value="true"/>
       <property name="IncludeFiles" value="filename.*\..*"/>
       <property name="PollingFrequency" value="10"/>
       <property name="MinimumAge" value="0"/>
       <property name="TriggerFilePhysicalDirectory" value="/INPUT"/>
       <property name="TriggerFile" value="trigger.txt"/>

Why does the resursive GET only work the first time?


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

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.