Versions Compared

Key

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

...

A profile definition for Server to Server transfer, from a sftp ftp to a ftp sftp server:

Code Block
 
 [ftp_server_2_server]
 ssh_auth_method=password
 
 source_user=kb
 source_password=*****
 source_ssh_auth_method=password
 source_host= include                = Keepass_DataBase_WithPassword
 ;
 file_spec=^.*\.txt$
 operation=copy
 ;
 source_CredentialStore_KeyPath = sos/server/wilma.sos
 source_protocol=sftp
 source_port=22
 
 target_user=test
 target_password=*****
 target_host=dir                     = /tmp/test/jade/out
 ;
 target_CredentialStore_KeyPath = sos/server/8of9.sos
 target_protocol=ftp
 target_port=21
 
 file_spec=^.*\.txt$
 operation=copy
 

dir                     = $\{TEMP\}/jade/in
 

In this example all files with the file name extension ".txt" should be transferred from the server "wilma" via sftp ftp to the server 8of9 by ftp. the folders are not explicitly specified and therefore the "home" folders of the user are selectedsftp.

Profile fragments TBD

To make the profile more reusable and readable it is possible to reuse profiles snipets in the way like this:

...