You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Introduction

About this page

Inline links on this page for XML Elements generally lead to the JADE Parameter Reference articles.

Links to related articles in this User Manual are in the 'Further Information' section at the foot of this article.

Section Title

Error rendering macro 'excerpt-include'

No link could be created for 'JADE Parameter Reference - FTPFragmentRef'.

A Simple File Transfer Example ConfigurationTODO

The configuration for a simple file transfer as shown in the SOS XML Editor is shown in the screen shot below.

(The transfer is carried out per FTP from a remote server to the local file system and password authentication is required for the remote server.)

 

This file transfer profile would be started by calling the XML configuration file and the profile in that file that is to be used.

The calls for Windows and Unix systems respectively would be: CHECK SYNTAX (SETTINGS)

Calling a file transfer profile on a Windows system
jade.cmd -settings="%USERPROFILE%\jade_demo\jade_user_manual_configuration.xml" -profile="ftp_server_2_local"
Calling a file transfer profile on a Unix system
./jade.sh -settings="${HOME}/jade_demo/jade_user_manual_configuration.xml" -profile="ftp_server_2_local"

The example shown in the Editor screen shot above clearly shows the organization of the configuration in the editor's left hand pane:

  • The starting point is the ProfileID in center of the pane which is specified in the command line call.
  • The Copy Operation specifies that CopySource and  CopyTarget elements are required. These elements are added automatically by the Editor along with any child elements that are listed in the XSD Schema as being required.
    As the Editor validates the configuration before it can be saved, the user is effectively guided through the configuration, being prompted to set values at least for all required elements and informed about the optional child elements that can be applied at a particular point in the configuration by the 'Add child' button at the top of the right hand pane.
  • An FTPFragmentRef element has been selected for the CopySourceFragmentRef. The value for this element is the name of the ProtocolFragment specified in the Protocol branch shown at the top of the Editor pane.
    • This referencing technique allows a number of Fragment elements to be specified within a Configuration and used as desired.
  • The FTPFragment specified is selected from the Fragments listed when the 'Add child' button is clicked for the ProtocolFragments element.
    Selection of the FTPFragment element causes the Editor to automatically add the required child elements - in this case the BasicAuthentication and Account and BasicConnection and Hostname elements.
    • The optional Password element, which is required by the FTP server on test.sos-berlin.com, is added manually by way of the 'Add child' button.
    • The optional Port element shown was added for demonstration purposes but is set to the default value for the FTPFragment.
    • See ...... for more detailed information about Fragments TODO

Further Information

 

 

  • No labels