SLIK includes a built-in FTP operation
that allows you to transfer files between hosts. Any machine that supports an FTP server can be used with
SLIK. These include various
platforms including Windows NT, UNIX, VAX machines.
When defining an FTP operation you
must provide the following details.
|
FTP Operator |
Get, Put, or Remove |
|
Server Name |
Flipper |
|
Remote Directory |
/pub/app/data |
|
Local Directory |
C:\system\data |
|
FileName / Pattern |
*.zip;*.dat |
|
Binary transfer mode |
(Boolean) |
|
Overwrite file if exists |
(Boolean) |
FTP Transfer operations are created
using the following form:

|
The File Transfer ID field holds
the system generated unique identifier.
The File Transfer ID field automatically populates on creation of
the File Transfer record. The
File Transfer record is created when you click on
OK to save and close the new record. Field value type: system
generated |
|
|
The value in this field reflects
the FTP operation the Job operation relates to. See table below. |
|
|
The value in this field defines
the FTP Host to be used in the FTP operation. |
|
|
A value in this field reflects
the requirement for a username to use to logon as part of the FTP Transfer
operation. If not specified it defaults to anonymous@server. |
|
|
A value in this field reflects
the requirement for a password, associated with the username noted in the
User Name field, to be included as part of the FTP Transfer operation. |
|
|
A value in this field reflects
the local directory to use when matching files to be transferred to or
from. |
|
|
A value in this field reflects
the remote directory files are to be transferred to or from. |
|
|
A value in this field indicates
that once data has been collected and placed into the required directory,
the files will be moved to the specified directory name. Note: this field is only
available for FTP Transfers with the FTP Operation type of Rename and Get
& Rename. |
|
|
A value in this field limits the
operation to those files what match the file pattern record.
For example, all files with a file pattern of *.exe. |
|
|
If this field is checked
processing the operation will cause any previous files found with the same
name to be overwritten. |
|
|
Checking this option indicates
that files are to be transferred using binary mode as opposed to ASCII. |
FTP operators perform the following
function
|
Put |
Sends
any matching files (File Pattern) found in the Local Directory to the
Server Name's Remote Directory. |
|
Get |
Receives
any matching files (File Pattern) found in the Remote Directory of Server
Name to the Local Directory. |
|
Remove |
Removes
any matching files (File Pattern) found in the Remote Directory of Server
Name. |
|
Rename |
Renames any matching files (File Pattern) found in the Remote Directory of Server Name. |
|
Get & Rename |
Receives
any matching files (File Pattern) found in the Remote Directory of Server
Name to the Local Directory and then moves the files to the Rename
Directory. |
If an error occurs during a transfer
the details are logged using the standard error logging facilities.
Note: the associated Job Log record
includes the number of files transferred and there total size transferred in
bytes.