Sample adapter configuration file for the FTP XML Output adapter.
<?xml version="1.0" encoding="utf-8"?> <Adapter> <Name>ftp_xmllist_output</Name> <Description>An adapter which transforms ESP data to xml list format, and save to file on ftp server.</Description> <Log4jProperty>./log4j.properties</Log4jProperty> <Modules> <Module type="espconnector"> <InstanceName>MyOutStream_Subscriber</InstanceName> <Name>EspSubscriber</Name> <Next>MyXmlListOutputFormatter</Next> <Parameters> <EspSubscriberParameters> <ProjectName>EspProject2</ProjectName> <StreamName>BaseOutput</StreamName> </EspSubscriberParameters> </Parameters> </Module> <Module type="formatter"> <InstanceName>MyXmlListOutputFormatter</InstanceName> <Name>EspToXmlStringFormatter</Name> <Next>MyStringToStreamFormatter</Next> <Parallel>true</Parallel> <Parameters> </Parameters> </Module> <Module type="formatter"> <InstanceName>MyStringToStreamFormatter</InstanceName> <Name>StringToStreamFormatter</Name> <Next>MyFtpOutputTransporter</Next> <Parameters> <StringToStreamFormatterParameters> <Delimiter>\n</Delimiter> <IncludeDelimiter>true</IncludeDelimiter> <AppendString>\n</AppendString> <AppendPosition>end</AppendPosition> <IgnoreSpace>true</IgnoreSpace> <CharsetName>US-ASCII</CharsetName> </StringToStreamFormatterParameters> </Parameters> </Module> <Module type="transporter"> <InstanceName>MyFtpOutputTransporter</InstanceName> <Name>FtpOutputTransporter</Name> <Parameters> <FtpOutputTransporterParameters> <Host>10.128.108.103</Host> <Port>21</Port> <User>anonymous</User> <Password>anonymous</Password> <LoginType>normal</LoginType> <FtpFilePath>/ccc</FtpFilePath> <FtpFileName>ccc.txt</FtpFileName> <MaxBlockSize>2048</MaxBlockSize> <TransferMode>active</TransferMode> <Overwrite>true</Overwrite> <RetryPeriod>3000</RetryPeriod> <RetryNumber>0</RetryNumber> </FtpOutputTransporterParameters> </Parameters> </Module> </Modules> <EspProjects> <EspProject> <Name>EspProject2</Name> <Uri>esp://localhost:19011/sample_workspace/ftp_xmllist_output</Uri> <Security> <User></User> <Password encrypted="false"></Password> <AuthType>user_password</AuthType> </Security> </EspProject> </EspProjects> <GlobalParameters></GlobalParameters> </Adapter>