...
Document: getting_started_01.xml
see The JADE Client Command Line Interface - Tutorial 1 - Getting Started
XML Configuration (.xml)
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<?xml version="1.0" encoding="utf-8"?> <Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/jade/JADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Fragments> <ProtocolFragments> <FTPFragment name="ftp_server_2_testlocal"> <BasicConnection> <Hostname><![CDATA[test.sos-berlin.com]]></Hostname> <Port><![CDATA[21]]><<Port>21</Port> </BasicConnection> <BasicAuthentication> <Account><![CDATA[demo]]></Account> <Password><![CDATA[demo]]></Password> </BasicAuthentication> <<PassiveMode>true</FTPFragment>PassiveMode> </ProtocolFragments> </Fragments>FTPFragment> <Profiles> <Profile<SFTPFragment profile_idname="ftpsftp_server_2_local_pass"> <Operation> <Copy><BasicConnection> <CopySource><Hostname><![CDATA[test.sos-berlin.com]]></Hostname> <CopySourceFragmentRef><Port>22</Port> </BasicConnection> <FTPFragmentRef ref="ftp_test" /> <SSHAuthentication> <Account><![CDATA[demo]]></Account> <AuthenticationMethodPassword> <Password><![CDATA[demo]]></Password> </AuthenticationMethodPassword> </SSHAuthentication> </SFTPFragment> </ProtocolFragments> </Fragments> <Profiles> <Profile profile_id="ftp_server_2_local"> <Operation> <Copy> <CopySource> <CopySourceFragmentRef> <FTPFragmentRef ref="ftp_server_2_local" /> </CopySourceFragmentRef> <SourceFileOptions> <Selection> <FileSpecSelection> <FileSpec><![CDATA[.*]]></FileSpec> <Directory><![CDATA[/]]></Directory> </FileSpecSelection> </Selection> </SourceFileOptions> </CopySource> <CopyTarget> <CopyTargetFragmentRef> <LocalTarget /> </CopyTargetFragmentRef> <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory> <TargetFileOptions> <DisableOverwriteFiles>false</DisableOverwriteFiles> </TargetFileOptions> </CopyTarget> <TransferOptions> <Transactional>true</Transactional> </TransferOptions> </Copy> </Operation> </Profile> <Profile profile_id="sftp_server_2_local_pass"> <Operation> <Copy> <CopySource> <CopySourceFragmentRef> <SFTPFragmentRef ref="sftp_server_2_local_pass" /> </CopySourceFragmentRef> <SourceFileOptions> <Selection> <FileSpecSelection> <FileSpec><![CDATA[.*]]></FileSpec> <Directory><![CDATA[/]]></Directory> </FileSpecSelection> </Selection> </SourceFileOptions> </CopySource> <CopyTarget> <CopyTargetFragmentRef> <LocalTarget </FileSpecSelection>> </Selection>CopyTargetFragmentRef> </SourceFileOptions> <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory> </CopySource><TargetFileOptions> <CopyTarget> <DisableOverwriteFiles>true</DisableOverwriteFiles> <CopyTargetFragmentRef> </TargetFileOptions> <LocalTarget </>CopyTarget> </CopyTargetFragmentRef><TransferOptions> <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory><Transactional>true</Transactional> </CopyTarget>TransferOptions> </Copy> </Operation> </Profile> </Profiles> </Configurations> |
- Document: getting_started_02.xml
- see The JADE Client Command Line Interface - Tutorial 1 - Getting StartedFlat File Configuration (.ini)
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="utf-8"?> <Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/jade/JADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Fragments> <ProtocolFragments> <SFTPFragment name="sftp_test"> <BasicConnection> <Hostname><![CDATA[test.sos-berlin.com]]></Hostname> <Port><![CDATA[22]]></Port> </BasicConnection> <SSHAuthentication> <Account><![CDATA[demo]]></Account> <AuthenticationMethodPassword> <Password><![CDATA[demo]]></Password> </AuthenticationMethodPassword> </SSHAuthentication> </SFTPFragment> </ProtocolFragments> </Fragments> <Profiles> <Profile profile_id="sftp_server_2_local_pass"> <Operation> <Copy> <CopySource> <CopySourceFragmentRef> <SFTPFragmentRef ref="sftp_test" /> </CopySourceFragmentRef> <SourceFileOptions> <Selection> <FileSpecSelection> <FileSpec><![CDATA[.*]]></FileSpec> <Directory><![CDATA[/]]></Directory> </FileSpecSelection> </Selection> </SourceFileOptions> </CopySource> <CopyTarget> <CopyTargetFragmentRef> <LocalTarget /> </CopyTargetFragmentRef> <Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory> </CopyTarget> </Copy> </Operation> </Profile> </Profiles> </Configurations> |
...