Ftp-to-[file] action, File]-to-ftp – Wavetronix Command Translator (CMD-DT) - User Guide User Manual
Page 119
118
CHAPTER 10 • TASKBUILDER ACTIONS
Note
TaskBuilder will ignore leading and trailing white space when processing properties.
If you would like spaces to be included, enclose the delimiter string in brackets; the
brackets will be ignored when the task is run. Having a delimiter string of three spac-
es between columns can be written as “[ ]” within this property. To include a tab as
part of a delimiter, use the string “{t}” within the property value.
˽
Header String (Value—String) – Creating a dataset in memory will require the column
header names. The Header String should contain those column names, delimited by
the same delimiter string used in the text file itself. Alternately, the Header String can
be placed in the first line of the text file, and this property left blank. Not providing a
header string in either location will result in the first line of data being interpreted as
the Header String with incorrect results.
˽
Dataset Name (Value—String) – The Dataset Name is the name given to the dataset
in memory. This string is optional, but important if the resulting XML file requires a
certain naming convention to be compatible with another step in the task.
˽
Datarow Name (Value—String) – The Datarow Name is the name given to each row
of data elements in the XML file. This string is optional, but important if the resulting
XML file requires a certain naming convention to be compatible with another step in
the task.
FTP-to-[File] Action
An FTP component attached to any file type (XML, text, HTML, PDF, Excel, 3 Card) will
download a file of that type from the given FTP site.
All actions from FTP to a file type have the following property:
˽
DestPath (Value—String) – The full file path on the FTP site where the file to down-
load is located. (The destination file path on the local machine is set on the file com-
ponent itself.)
[File]-to-FTP
Likewise, any file type can be uploaded to an FTP site using a similar operation. These ac-
tions will copy the file to the given FTP location and can optionally delete the file locally at
the same time.
All actions from a file type to FTP have the following properties:
˽
DestPath (Value -- String) – The destination path on the FTP site to upload the file. If
there is already a file on the FTP site with this exact file name and path, that file will be