Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

...

YADE File Transfer

...

Schema

Graphviz
 digraph "Example: File Transfers using localhost" {
rankdir=LR;
edge [color="#31CEF0"];

source_server [label="Data Source/Target (FTP)"];
jadeyade_client  [label="JADEYADE CLI"];
jadeyade_config [label="JADEYADE Configuration"];

source_server->jade>yade_client  [dir=both label="copy/move" color="grey"];
jade_config->jade>yade_client [color="green"];
}

...

YADE configuration file: jade_settings.ini

...

YADE global profile

The JADE YADE global profile will be automatically included by all profiles:

Code Block
[globals]
basedir          = C:\Program Files\sos-berlin.com\jade\jade_client_1.6.4043\
HistFileLocation = C:\Program Files\sos-berlin.com\jade\jade_client_1.6.4043\logs

...

YADE generic fragments

Code Block
[BackgroundService]
BackgroundServiceHost = localhost
BackgroundServicePort = 4444
SendTransferHistory   = true
TransferMethod        = TCP

[MailSettings]
file_notification_to      = myemail@mydomain.com
file_notification_subject = JADE-Client mail
file_notification_body    = This is a test.
mail_smtp                 = mail.myemail.com

[jadeHistory]
log_filename    = ${HistFileLocation}/jade_history.log
HistoryFileName = ${HistFileLocation}/jade_history.csv

...

YADE transfer profiles

...

YADE profile for localhost to localhost copy operation

Code Block
[localhost_copy]
include        = globals, jadeHistory , BackgroundService
source_host    = localhost
source_protocol= local
target_host    = localhost
target_protocol= local
file_spec      = ^.*\.txt$
operation      = copy
source_dir     = c:\sandbox\source
target_dir     = c:\sandbox\target

...

YADE profile for FTP server to localhost file receive (download/copy) operation

Code Block
[localhost_receive]
include        = globals, jadeHistory , BackgroundService
source_host    = mp
source_protocol= ftp
target_user    = test
target_password= test
target_host    = localhost
target_protocol= local
file_spec      = ^.*\.txt$
operation      = receive
source_dir     = /sandbox/ftp_server/outbound
target_dir     = c:\sandbox\target

...

YADE profile for localhost to FTP server file send (upload/copy) operation

Code Block
[localhost_send]
include        = globals, jadeHistory , BackgroundService
source_host    = localhost
source_protocol= local
target_host    = localhost
target_protocol= ftp
target_user    = test
target_password= test
file_spec      = ^.*\.txt$
operation      = send
source_dir     = c:\sandbox\source
target_dir     = /sandbox/ftp_server/inbound