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

Overwrite operation

The Overwrite operation overwrites the specified file with the content specified in the request.

After the content is overwritten, the file name is sent back to the calling component indicating a successful response.

The file to be overwritten is copied from the specified directory to the staging directory, if specified, and the content is overwritten for that file in the staging directory. The file is then moved back to the specified directory. If a staging directory is not specified, the content is overwritten on the file in the specified directory.

If the file to be overwritten does not exist, and the CreateIfFileNotExist property is set to True, the adapter creates a file.

If the file to be overwritten does not exist, a RecordNotFound exception is sent to the calling component.

Supported operations