Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Undefined links corrected

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

Description of JobSchedulerFTPReceive - Receives files by FTP

...

Templates can use internal variables and parameters as placeholders in the form %{placeholder}. The standard footer template looks like this:

Code Block

  *************************************************************************
  execution status = %\{status\}
  successful transfers = %\{successful_transfers\}
  failed transfers = %\{failed_transfers\}
  last error = %\{last_error\}
  *************************************************************************

...

************************************************************************

    • *

      No Format
      
       *SOSFTP - Managed File Transfer Utility*
       *--------------------------------------*
       **
      

      *************************************************************************

      versionh1.

      version = %{version}
      date = %{date} %{time}

      operationh1.

      operation = %{operation}
      protocol = %{protocol}
      file

      specificationh1.

      specification = %{file_spec}
      file path = %{file_path}
      source

      hosth1.

      host = %{localhost} (%{local_host_ip})
      local directory = %{local_dir}
      jump

      hosth1.

      host = %{jump_host}
      target host = %{host} (%{host_ip})
      target

      directoryh1.

      directory = %{remote_dir}
      pid = %{current_pid}

      ppidh1.

      ppid = %{ppid}
      *************************************************************************

      Parameter: classpath_base

      The parameter is used during installation of this program on a remote server with the parameter operationinstall. This parameter specifies the path of the Java Runtime Environment (JRE) at the remote server and is used if on the remote server a JRE is not included in the system path.

...

Parameter: ftp_protocol

Code Block

 ftp , sftp or ftps 

If sftp is chosen, the ssh_* parameters will be considered. For FTPS, only implicit FTPS (using a dedicated FTPS port) is supported. Explicit FTPS (Server uses the same port for FTP and FTPS) is not supported.
The default value for this parameter is ftp.

...

Supports masks for substitution in the file name with format strings that are enclosed with {*} and {*} [and] . The following format strings are supported:

...

a)
For replacement "capturing groups" are used. Only the content of the capturing groups is replaced.
Replacements are separated by a semicolon ";". Example:

Code Block

 replacing : (1)abc(12)def(.*)
 replacement : A;BB;CCC

...

b)
If no "capturing groups" are specified then the entire match is replaced. Example:

Code Block

 replacing : Hello
 replacement : 1234

...