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.In

    • For the following example a

    samba
    • Samba folder

    _
    • tmp

    _ is
    •  is configured with

    sufficient
    • permissions to read and write files for a user

    _
    • test

    _
    • .

  • On For Windows you have to release share a folder with sufficient permissions to read and write files for a user test. 

    • For the following example the

    release name of
    • the

    released
    • shared folder name is

    _
    • tmp

    _
    • .

Example 1:

...

Copy files from

...

localhost to

...

Samba share using

...

CIFS

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 in to the folder _tmp_where_ where tmp_ is either a windows released Windows shared folder or a unix samba Unix Samba folder._

To execute this profile on from the command line dotype:

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 all files which has with the filename extension.txt ' from the sftp SFTP server on wilma.sos from the  and folder /tmp/test/jade/in
to  to the folder tmp where tmp is either a windows released Windows shared folder or a unix Unix samba folder.

To execute this profile on from the command line dotype:

Code Block
languagebash
jade.sh -settings=name-of-your-configuration-file -profile=copy_sftp2samba