47
Chapter4 Development Guide for a Cooperative Application
4
Examples
❏ Case 1: When writing a file (C:\abc\data.txt) into a folder (abc) located directly under the disc
root directory.
Style: DATA=C:\abc\data.txt(TAB)abc\data.txt
The folder (abc) in the destination does not need to be specified. It is automatically
created.
❏ Case 2: When writing a file (C:\abc\data.txt) directly under the disc root directory.
Style: DATA=C:\abc\data.txt
❏ Case 3: When creating a folder (abc) directly under the disc root directory without specifying
source write data.
Style: DATA=abc
❏ Case 4: When creating a folder (abc) directly under the disc root directory without specifying
source write data, and creating sub folder (def) under the abc folder.
Style: DATA=abc\def
You do not need to specify a folder (abc) and folder (abc\def) separately.
❏ Case 5: When writing files and sub folders in the specified folder (C:\data) directly under the
disc root directory.
Style: DATA=C:\data
The specified folder (C:\data) itself is not written to the disc.
❏ Case 6: When writing files and sub folders in the specified folder (C:\data) into a folder (abc)
located directly under the disc root directory.
Style: DATA=C:\data(TAB)abc
The specified folder (C:\data) itself is not written to the disc.The folder (abc) in the
destination does not need to be specified. It is automatically created.
Error cases
An error occurs when the specified file or folder has the same name with a file or folder that is already
existing in the destination.
When a folder is specified, files and sub folders in the folder are written with their names unchanged.
However, the specified folder is not written to the disc. The above example will cause an error because the
file (abc.txt) exit both in the folder (C:\abc) and the folder (C:\def).
DATA=C:\abc. (*"abc.txt" is existing in the folder.)
DATA=C:\def. (*"abc.txt" is existing in the folder.)
Comments to this Manuals