In the deployment descriptor for Oracle FTP Adapter, you must specify the values In the deployment descriptor for Oracle FTP Adapter, also specify the following

Oracle JCA Adapter for FilesFTP 4-93

4.4.5 Configuring Oracle FTP Adapter for HTTP Proxy

The Oracle FTP Adapter provides proxy support for HTTP proxy only. The HTTP proxy support is available in the following two modes, plain FTP mode and SFTP mode. This section explains how to configure the Oracle FTP Adapter for running in plain FTP mode and SFTP mode. It contains following sections: ■ Section 4.4.5.1, Configuring for Plain FTP Mode ■ Section 4.4.5.2, Configuring for SFTP Mode

4.4.5.1 Configuring for Plain FTP Mode

For running the Oracle FTP Adapter in plain FTP mode, you must specify the value of certain parameters in the Oracle FTP Adapter deployment descriptor. Table 4–15 lists the properties that you must modify. Table 4–14 Sample SFTP Properties and Values Property Value proxyHost proxy.host.com proxyPort 80 proxyUsername anonymous proxyPassword tigerscott.com useProxy true useSftp true authenticationType publickey preferredKey ExchangeAlgorithm diffie-hellman-group1-sha1 preferred CompressionAlgorithm none preferred DataIntegrityAlgorithm hmac-md5 preferredPKIAlgorithm ssh-rsa privateKeyFile C:\my-secured-folder\id_rsa preferredCipherSuite blowfish-cbc transportProvider HTTP Table 4–15 Plain FTP Mode Properties Property Description host The remote FTP server name. port The FTP control port number. username The FTP user name. password The FTP password. proxyHost The proxy host name. proxyPort The proxy port number. proxyUsername The proxy user name. proxyPassword The proxy password. 4-94 Oracle Fusion Middleware Users Guide for Technology Adapters A sample list of Oracle FTP Adapter descriptor properties and their values is shown in Table 4–16 .

4.4.5.1.1 Proxy Definition File You can specify all proxy-specific information in a proxy

definition file and configure the adapter to use this file with the proxyDefinitionFile property of the Oracle FTP Adapter deployment descriptor file. A proxy definition file is written in XML format and is based on XML schema. The XML schema for the proxy definition file is shown in Example 4–5 . Your proxy definition file must be based on this XML schema. Example 4–5 Proxy Definition File XML Schema ?xml version = \1.0\ encoding = \UTF-8\? schema targetNamespace = http:ns.oracle.comipafftpproxy xmlns = http:www.w3.org2001XMLSchema xmlns:proxy=http:ns.oracle.comipafftpproxy element name=ProxyDefinitions type=proxy:ProxyDefinitionsType complexType name=ProxyDefinitionsType sequence element name=Proxy type=proxy:ProxyDefinition minOccurs=0 maxOccurs=unbounded sequence complexType complexType name=ProxyDefinition proxyType The proxy type. Only HTTP proxy type is supported. proxyDefinitionFile The absolute path of the proxy definition file. This parameter is not mandatary. See Section 4.4.5.1.1, Proxy Definition File for more information. useProxy Specify true to use proxy. Table 4–16 Sample Plain FTP Mode Properties and Values Property Value host my.host.com port 21 username user password password proxyHost proxy.host.com proxyPort 80 proxyUsername anonymous proxyPassword tigerscott.com proxyType http proxyDefinitionFile c:\proxydefinitions.xml useProxy true Table 4–15 Cont. Plain FTP Mode Properties Property Description