Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
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}
operationh1.
date = %{date} %{time}operation = %{operation}
specificationh1.
protocol = %{protocol}
filespecification = %{file_spec}
hosth1.
file path = %{file_path}
sourcehost = %{localhost} (%{local_host_ip})
hosth1.
local directory = %{local_dir}
jumphost = %{jump_host}
directoryh1.
target host = %{host} (%{host_ip})
targetdirectory = %{remote_dir}
ppidh1.
pid = %{current_pid}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
|
...