We are trying to explain each and every activity in depth, so stay tuned to this site. This Site is Under Construction!!!

Saturday, June 23, 2012

Create File Activity

Create File Activity

The Create File activity creates a new file or directory with the specified name. When creating a file, you can also provide the file contents.

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

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More