Replication Programming

FTPPassword Property

The FTPPassword property specifies the password of the FTP site where the publication snapshot files are stored.

Applies To

SQLDistribution Object

SQLMerge Object

Syntax

object.FTPPassword [= value]

Part Description
object Expression that evaluates to an object in the Applies To list.
value Password of the FTP site.

Remarks

The default is no password. Typically, an e-mail address of the form [email protected] is used for FTP passwords.

These properties should not be required when you dynamically determine the FTP login properties by querying the publication. Provided for backward compatibility only: these properties will not be effective when used against Microsoft® SQL Server™ 2000 publications unless the Subscriber is a Microsoft SQL Server version 7.0 Subscriber.

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_FTPPassword(BSTR *pVal);

HRESULT put_FTPPassword(BSTR newVal);

See Also

FTPAddress Property

FTPLogin Property

FTPPort Property