Share via


File Delivery Protocol

The File delivery protocol writes notification data to a text file, using the name you specify for the file.

Important

The File delivery protocol is intended for application testing. It produces a single text file with a plain text header. If you want to write notifications to a file, especially if you want to generate multiple files, you should create a custom delivery protocol. For more information, see Developing a Custom Delivery Protocol.

Defining a File Delivery Protocol

When you define support for the File delivery protocol for a notification class, the ProtocolName value must be File. Do not define any protocol fields.

Important

You must configure support for a File delivery protocol for every notification class that uses it, despite the fact that this delivery protocol requires no protocol header field information. Notification Services uses this protocol information to determine what protocols are valid for delivering notifications of that class.

Definition of File Delivery Protocol

The following example shows how to define a delivery protocol for a notification class in an application definition file (ADF):

<Protocols>
    <Protocol>
        <ProtocolName>File</ProtocolName>
        <ProtocolExecutionSettings>
            ...
        </ProtocolExecutionSettings>
    </Protocol>
<Protocols>

Defining a Delivery Channel for the File Delivery Protocol

You must also define a delivery channel that uses the File delivery protocol. Multiple notification classes from multiple applications can use the same File delivery channel.

For more information, see Defining a File Delivery Channel.

See Also

Concepts

SMTP Delivery Protocol
Developing a Custom Delivery Protocol

Other Resources

Configuring Delivery Protocols
Defining Notification Classes

Help and Information

Getting SQL Server 2005 Assistance