CIFS
For Unix you have to install a Samba server.
For the following example a Samba folder tmp is configured with permissions to read and write files for a user test.
For Windows you have to share a folder with sufficient permissions to read and write files for a user test.
For the following example the the shared folder name is tmp.
Example 1: Copy files from localhost to Samba share using CIFS
[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 copies files with the filename extension .txt from the local 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:
jade.sh -settings=name-of-your-configuration-file -profile=copy_local2samba
Example 2: Copy files from SFTP Server to Samba share using CIFS
... [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:
jade.sh -settings=name-of-your-configuration-file -profile=copy_sftp2samba