Create File Activity
Explaination:
Create file activity creates a new file or directory with the specified name and even we can provide the contents of the file when creating a file. Specify the File location path in input as at filename. example: "c:\naveen\abc.txt"
Points to Remember in Configuration:
In Configuration, we have some fields to remember
Overwrite: Check this field to overwrite the file name, if it is already exists.
i.e., For example if a file with the same name is already present in that particular location, it will overwrite the file name else it will raise an exception as file already exists.
Is a Directory: Check this field if u want to create a New directory (i.e., New folder with the specified name will be created). If the specified name for the directory already exists, it will raise an error that already exists, make sure to the check the field overwrite.
Create Non-Existing Directories: When checked, the activity creates all directories in the specified path, if they do not already exist. If this field is unchecked and there are one or more directories in the specified path that do not exist, an exception is raised.
0 comments:
Post a Comment