Table of Contents |
---|
...
Please look at http://www.sos-berlin.com/doc/en/jade/JADE%20Parameter%20Reference.pdf for an overview about all parameters.
General
CIFS
For
OnUnix you have to
installedinstall a
sambaSamba server.
No Format In the following example a samba folder _tmp_ is configured with sufficient permissions to read and write files for a user _test_.
For the following example a Samba folder tmp is configured with permissions to read and write files for a user test.
For
OnWindows you have to
releaseshare a folder with sufficient permissions to read and write files for a user test.
No Format For example the release name of the released folder is _tmp_.
Example: send files via cifs
For the following example the the shared folder name is tmp.
Example 1: Copy files from localhost to Samba share using CIFS
Code Block |
---|
Code Block |
[local_source_host] source_protocol = local source_dir = /tmp/test/jade/in [samba_target_host] target_protocol = smb target_host = my.host target_user = test target_password = test target_dir = tmp [copy_local2samba] include = local_source_host,samba_target_host operation = copy file_spec = \.txt$ |
The profile copy_local2samba transfers all copies files which end with the filename extension .txt ' from the local folder /tmp/test/jade/into the folder_tmp_where_tmp'' is either a windows released folder or a unix samba folder.in to the folder tmp where tmp is either a Windows shared folder or a Unix Samba folder.
To execute this profile from the command line type:
Code Block | ||
---|---|---|
| ||
jade.sh -settings=name-of-your-configuration-file -profile=copy_local2samba |
Example 2: Copy files from SFTP Server to Samba share using CIFS
Code Block |
---|
...
[sftp_source_wilma.sos]
source_protocol = sftp
source_port=22
source_user=test
source_password=12345
source_ssh_auth_method=password
source_dir = /tmp/test/jade/in
...
[copy_sftp2samba]
include = sftp_source_wilma.sos,samba_target_host
operation = copy
file_spec = \.txt$
|
The profile copy_local2samba copies files with the filename extension.txt from the SFTP server wilma.sos and folder /tmp/test/jade/in to the folder tmp where tmp is either a Windows shared folder or a Unix samba folder.
To execute this profile from the command line type:
Code Block | ||
---|---|---|
| ||
jade.sh -settings=name-of-your-configuration-file -profile=copy_sftp2samba
|