Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
YADE File Transfer Schema
Graphviz |
---|
<source> digraph "Example: File Transfers using localhost" \{ </source> 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"]; jadeyade_config->jade>yade_client [color="green"]; \} |
...
YADE configuration file: jade_settings.ini
...
YADE global profile
The 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 = $\{basedir\}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 = YADE 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] #includeinclude = 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 = c:\/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 = Cc:\sandbox\source target_dir = C:\/sandbox\/ftp_server\/inbound |