Versions Compared

Key

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

Table of Contents

...

CIFS

  • For

...

Please look at jadeParameterReference for an overview about all parameters.

General

  • On

    Unix you have to install a

    samba

    Samba 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

    On

    Windows you have to

    release

    share a folder with sufficient permissions to read and write files for a user test.

    noformat

     

    • For

    • the following example

    • the

    release name of the released folder is _tmp_.

Example: copy files using cifs

    • 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 copies all files which has 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 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
languagebash
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 on from the command line type:

Code Block
languagebash

jade.sh -settings=name-of-your-configuration-file -profile=copy_local2sambasftp2samba