We are trying to explain each and every activity in depth, so stay tuned to this site. This Site is Under Construction!!!
Showing posts with label File Palette. Show all posts
Showing posts with label File Palette. Show all posts

Saturday, June 23, 2012

List File Activity

The List Files activity returns information about files or directories, or a listing of all the files in the specified directory.

Copy File Activity

The Copy File activity allows you to copy files and directories to a new location.

Remove File Activity

The Remove File activity removes the specified file. This activity can also remove empty directories. If a directory that is not empty is specified, an exception is thrown.

Rename File Activity

The Rename File activity is used to rename or move files. This activity can also rename directories, but you cannot use this activity to move a directory to a new location.

Wait for File Change Activity

The Wait for File Change activity waits for a file creation, modification, or deletion event to occur during process execution. When this activity is executed, the process instance suspends and waits for the specified change to occur before resuming.

File Poller Activity

The File Poller process starter polls for files or directories with the given name and starts a process when the specified change (creation, modification, deletion) is detected.

Write File Activity

The Write File activity writes content to the specified file.

Read File Activity

The Read File activity is used to read a file and place its contents into the activity’s output.

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.

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More