...
- Getting Started and Downloading files
- Simple File Selection
- More Advanced File Selection
File Transfer
- Checking files for completeness
- Public / Private Key Authentication
- Transfer via a Jump Host / DMZ
...
- Installation, Configuration and Use
Prerequisites
See the Using the tutorials with the YADE Client Command Line Interface article for guidelines to setting up and running the tutorial examples.
...
Code Block |
---|
language | xml |
---|
title | The 'ftp_server_2_local_poll_minfiles' Profile in XML Format |
---|
collapse | true |
---|
|
<?xml version="1.0" encoding="utf-8"?>
<Configurations xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/schema/jadeyade/JADEYADE_configuration_v1.0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Fragments>
<ProtocolFragments>
<FTPFragment name="ftp_demo_sos-berlin">
<BasicConnection>
<Hostname><![CDATA[test.sos-berlin.com]]></Hostname>
</BasicConnection>
<BasicAuthentication>
<Account><![CDATA[demo]]></Account>
<Password><![CDATA[demo]]></Password>
</BasicAuthentication>
</FTPFragment>
</ProtocolFragments>
</Fragments>
<Profiles>
<Profile profile_id="ftp_server_2_local_poll_minfiles">
<Operation>
<Copy>
<CopySource>
<CopySourceFragmentRef>
<FTPFragmentRef ref="ftp_demo_sos-berlin" />
</CopySourceFragmentRef>
<SourceFileOptions>
<Selection>
<FileSpecSelection>
<FileSpec><![CDATA[^test_.\.txt$]]></FileSpec>
<Directory><![CDATA[./]]></Directory>
</FileSpecSelection>
</Selection>
<Polling>
<PollInterval>20</PollInterval>
<PollTimeout>1</PollTimeout>
<MinFiles>3</MinFiles>
</Polling>
</SourceFileOptions>
</CopySource>
<CopyTarget>
<CopyTargetFragmentRef>
<LocalTarget />
</CopyTargetFragmentRef>
<Directory><![CDATA[${USERPROFILE}\jade_demo\a]]></Directory>
</CopyTarget>
</Copy>
</Operation>
</Profile>
</Profiles>
</Configurations> |
...
Code Block |
---|
language | bash |
---|
title | Running the file transfer settings.ini configuration in Windows format (JADE YADE 1.10 and earlier) |
---|
|
jade.cmd -settings="%USERPROFILE%\jade_demo\sos-berlin_demo_2_local_poll.ini" -profile="ftp_server_2_local_poll_minfiles" |
Code Block |
---|
language | bash |
---|
title | Running the file transfer XML configuration in Windows format (JADE YADE 1.11 and later) |
---|
|
jade.cmd -settings="%USERPROFILE%\jade_demo\sos-berlin_demo_2_local_poll.xml" -profile="ftp_server_2_local_poll_minfiles" |
On Unix systems the profile is called using one of the following commands, depending on the JADE YADE version being used:
Code Block |
---|
language | bash |
---|
title | Running the file transfer settings.ini configuration in Unix format (JADE YADE 1.10 and earlier) |
---|
|
./jade.sh -settings="${HOME}/jade_demo/sos-berlin_demo_2_local_poll.ini" -profile="ftp_server_2_local_poll_minfiles" |
Code Block |
---|
language | bash |
---|
title | Running the file transfer XML configuration in Unix format (JADE YADE 1.11 and later) |
---|
|
./jade.sh -settings="${HOME}/jade_demo/sos-berlin_demo_2_local_poll.xml" -profile="ftp_server_2_local_poll_minfiles" |
...