WebSphere Adapter for FTP

Managed (J2C) connection factory properties

Managed connection factory configuration properties are used at run time to create an outbound connection instance with an enterprise information system.

When you configure the adapter, specify the managed (J2C) connection factory properties listed below.

Managed (J2C) connection factory properties for the Adapter for FTP

Property Type Description Globalized Bidirectional transformation supported Default value Required
FtpUrl String URL of the FTP server to which the connection is established during an outbound operation.

The syntax for specifying the URL is: ftp://[UserId:password
@]FTPserver
[:port]

The following information can also be specified in the FtpUrl property:
  • username and password of a user with privileges to connect to the FTP server and perform FTP operations. If not specified in FtpUrl, they must be specified in the Username and Password properties.
  • The FTP port. If not specified in FtpUrl, the adapter uses the default FTP port.
Yes Yes None Yes
Username String Name of the user with privileges to connect to the FTP server and perform FTP operations. You do not need to specify a value for this attribute if the Username is included in the URL specified in the FtpUrl property. Yes Yes None No
Password String Password of the user with privileges to connect to the FTP server and perform FTP operations. You do not need to specify a value for this attribute if the Password is included in the URL specified in the FtpUrl property. Yes Yes None No
Socks
Proxy
Host
String Host name of the workstation that is used as a proxy server through which the adapter requests are routed to the FTP server. Yes Yes None No
Socks
Proxy
Port
String Port number of the proxy server through which the adapter requests are routed to the FTP server. No No None No
Socks
Proxy
Username
String User name used to authenticate the proxy server. Yes Yes None No
Socks
Proxy
Password
String Password used to authenticate the proxy server. Yes Yes None No
CustomParser
ClassName
String Fully qualified class name of the custom parser that is used to parse the ls –l output. Only used when the ls –l output deviates from standard output. No No None No
EISEncoding String Encoding of the FTP server. Use this value to set the encoding for the control connection to the FTP server.
  • When both EISEncoding at the adapter level and EISEncoding at the MCF level are not set (both are null), nothing is set on the control connection while communicating with the FTP server.
  • When EISEncoding at the adapter level is set and EISEncoding at the MCF level is not set, the value at adapter level is set on the control connection while communicating with the FTP server. This is helpful when using multiple MCF's and the same encoding is set. In this case, set the value at the adapter level so that all the connections will have the same encoding for the control connection.
  • When EISEncoding at the adapter level is not set and EISEncoding at the MCF level is set, the value at MCF level is set on the control connection while communicating with the FTP server. Since the value is at the MCF level, this is applicable for only that MCF.
  • When both EISEncoding at the adapter level and EISEncoding at the MCF level are set, the value at the MCF level takes precedence.

Specify any Java-supported encoding set for this attribute.

No No None No
Staging
Directory
String During an outbound create operation, the file is first created into this directory, if specified. After creation, the file is moved to the directory specified in the DirectoryPath property. The staging directory is also used for Append and Overwrite operations where the specified file is copied to StagingDirectory (if present), then appended or overwritten with content and moved back to the original specified directory. If StagingDirectory is not present, the operation is executed in the actual required directory. Yes No None No
SecondServer
Directory
String URL of the second FTP server to which the ServerToServerFileTransfer outbound operation is performed.

Syntax for specifying the FTP URL is: ftp://[UserId:password@]
FTPserver[:port]Directory
ForSecondServer

The following information can also be specified:
  • The username and password of a user with privileges to connect to the second FTP server and perform FTP operations. If not specified here, must be specified in the SecondServerUsername and SecondServerPassword properties.
  • The FTP port. If not specified here, the adapter uses the default FTP port.
  • The remote event directory. If not specified here, the adapter transfers the file to the directory to which the connection is established in the FTP server.
Yes No None No
SecondServer
Username
String User name of the second FTP server to which the file is transferred during a server to server file transfer outbound operation. Yes No None No
SecondServer
Password
String Password of the Second FTP server to which the file is transferred during a server to server file transfer outbound operation. Yes No None No
Related reference
Resource adapter properties
Connection specification properties
Activation specification properties
Interaction specification properties

Terms of use |

Last updated: Mon 30 Oct 2006 03:48:53

(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)