Appendix C, ParametersAppendix C, Parameters*
*



Contents  *



Index  *Topic Contents
*Previous Topic: Appendix B, Error Codes
*Next Topic:




Windows Shell API

Appendix C, Parameters

The following tables list the parameters supported by each Microsoft service provider. When writing a posting information file for a server, as many parameters as possible should be specified for each service provider the server will support, in order to minimize the amount of information that must be entered by a user.

The DefaultPage parameter is handled by the Web Publishing API (as such it is not listed under the individual service providers.) It specifies the name to use when saving a file as the default page for a site (when indicated by the WPF_FIRST_FILE_AS_DEFAULT flag to WpPost.)

The service provider section of the posting information file must include the registration identifier. To get this string value, use the WpEnumProvidersmethod.

Content Replication System Service Provider

Parameter Example value Meaning
Authentication NTLM The name of the security package to use when authenticating against the server.
ServerName myserver The name of the CRS server.

FTP Service Provider

Note that if present, the special string "$USERNAME" will be replaced with the name of the account used to log on to the server during publishing. This string can be used in the ServerName and Subfolder values.

The ConnectTimeout, ConnectRetries, SendTimeout, and ReceiveTimeout, were made site parameters to allow dynamic adjustment of the waiting behavior on network calls. However, a typical postinfo file will probably not need to include these parameters. The values listed under "Example Value" for these four parameters are the defaults.
Parameter Example value Meaning
ServerName myserver The name of the FTP server.
Subfolder home/users/$USERNAME The path on the FTP server where files should be saved. Note that $USERNAME will be replaced with the "UserName" value.
ConnectTimeout 60000 (msec) The length of the timeout to use when connecting to the server.
ConnectRetries 5 The number of retries to make when connecting to the server.
SendTimeout 60000 (msec) The length of the timeout for all network packets sent.
ReceiveTimeout 60000 (msec) The length of the timeout for all network packets received.
BasePath - This value is obsolete. If present on a site key that was used with version 1.1 of the Web Publishing Wizard, it will be upgraded to "Subfolder" the first time the FTP provider binds to the site.
FtpServerName - This value is obsolete. If present on a site key that was used with version 1.1 of the Web Publishing Wizard, it will be upgraded to "ServerName" the first time the FTP provider binds to the site.

HTTP POST Service Provider

Parameter Example value Meaning
PostingURL http://myserver/scripts/cpshost.dll?PUBLISH The URL of the HTTP POST acceptor.
TargetURL http://myserver/users The URL where the uploaded files should be placed.