IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > FTP > Overview of IBM WebSphere Adapter for FTP > Technical overview > Outbound processing > Supported operations

Create operation

The Create operation creates a file with the specified name in the given directory of the FTP server.

If a temporary file name is specified, a file is created with a temporary file name on the FTP server. After the file is created at a remote location, it is renamed to the target file name. The Temporary file name property is available in the interaction specification properties.

The file can be created in a staging directory and then sent to the actual directory. If a staging directory is not specified, the file is directly created in the actual directory.

Using the properties FileInLocalDirectory and LocalArchiveDirForCreate, you can create files in the local directory and local archive directory, respectively.

The content of the file can either be sent as part of the request or it can be retrieved from the local file system. When the file content is received as part of the request, the adapter provides the option to archive the file on the adapter workstation before creating it.

After the file is created, the file name is sent back to the calling component to indicate that the file was created successfully. If the file to be created exists, a DuplicateRecord exception is sent, and the file is not created. The existing file is not overwritten.

Supported operations


Related reference:

Wrapper and interaction specification properties