Append Mode Performs the required postprocessing, such as deletion or archival after the file

4-26 Oracle Fusion Middleware Users Guide for Technology Adapters Figure 4–9 The Adapter Configuration Wizard - File Configuration Page Batching option is disabled if Append is chosen in the wizard. In addition, the following error message is displayed if the user specifies a dynamic file naming convention as opposed to a static file naming convention: You can not choose to Append Files and use a dynamic file naming convention at the same time If you are using the Append functionality in Oracle FTP Adapter, ensure that the FTP server supports the APPE command.

4.2.21 Recursive Processing of Files Within Directories in Oracle FTP Adapter

In earlier versions of the Oracle SOA Suite, the inbound Oracle FTP Adapter used the NLST Name List FTP command to read a list of file names from the FTP server. However, the NLST command does not return directory names and therefore does not allow recursive processing within directories. In the 11g release, the Oracle FTP Adapter uses the LIST command, instead. However, the response from the LIST command is different for different FTP servers. To incorporate the subtle differences in results from the LIST command in a standard manner, the following parameters are added to the deployment descriptor for Oracle FTP Adapter: ■ defaultDateFormat : This parameter specifies the default date format value. On the FTP server, this is the value for files that are older. The default value for this parameter is MMM d yyyy as most UNIX-type FTP servers return the last modified time stamp for older files in the MMM d yyyy format. For example, Jan 31 2006. You can find the default date format for your FTP server by using the ls -l command by using a FTP command-line client. For example, ls -l on a vsftpd server running on Linux returns the following: -rw-r--r-- 1 500 500 377 Jan 22 2005 test.txt Oracle JCA Adapter for FilesFTP 4-27 For Microsoft Windows NT FTP servers, the defaultDateFormat is MM-dd-yy hh:mma, for example, 03-24-09 08:06AM DIR oracle. ■ recentDateFormat : This parameter specifies the recent date format value. On the FTP server, this is the value for files that were recently created. The default value for this parameter is MMM d HH:mm as most UNIX-type FTP servers return the last modified date for recently created files in MMM d HH:mm format, for example, Jan 31 21:32. You can find the default date format for your FTP server by using the ls -l command from an FTP command-line client. For example, ls -l on a vsftpd server running on Linux returns the following: 150 Here comes the directory listing. -rw-r--r-- 1 500 500 377 Jan 30 21:32 address.txt -rw-r--r-- 1 500 500 580 Jan 3121:32 container.txt ............................................................................... ...... For Microsoft Windows NT FTP servers, the recentDateFormat parameter is in the MM-dd-yy hh:mma, format, for example, 03-24-09 08:06AM DIR oracle. ■ serverTimeZone : The server time zone, for example, AmericaLos_Angeles. If this parameter is set to blank, then the default time zone of the server running the Oracle FTP Adapter is used. ■ listParserKey: Directs the Oracle FTP Adapter on how it should parse the response from the LIST command. The default value is UNIX, in which case the Oracle FTP Adapter uses a generic parser for UNIX-like FTP servers. Apart from UNIX, the other supported values are WIN and WINDOWS, which are specific to the Microsoft Windows NT FTP server. ■ serverLocaleLanguage : This parameter specifies the locale construct for language. ■ serverLocaleCountry : This parameter specifies the locale construct for country. ■ serverLocaleVariant : This parameter specifies the locale construct for variant. Configure the Parameters in the Deployment Descriptor The standard date formats of an FTP server are usually configured when the FTP server is installed. If your FTP server uses a format MMM d yyyy for defaultDateFormat and MMM d HH:mm for recentDateFormat, then your Oracle FTP Adapter must use the same formats in its corresponding deployment descriptor. If you enter ls -l from a command-line FTP, then you can see the following: 200 PORT command successful. Consider using PASV. 150 Here comes the directory listing. -rw-r--r-- 1 500 500 377 Jan 22 21:32 1.txt -rw-r--r-- 1 500 500 580 Jan 22 21:32 2.txt ................................................................................. Note: The locale language for the FTP server can be different from the locale language for the operating system. Do not assume that the locale for the FTP server is the same as the locale for the operating system it is running on. You must set the serverLocaleLanguage, serverLocaleCountry, and serverLocaleVariant parameters in such cases.