Partilhar via


FTPAddress Property (Replication ActiveX)

The FTPAddress property specifies the IP address of the File Transfer Protocol (FTP) site where publication snapshot files are stored.

Important   Support has been dropped for creating subscriptions to Subscribers running Microsoft SQL Server version 7.0 that are initialized using FTP.

Syntax

object.FTPAddress [= value]

Remarks

Part Description

object

Expression that evaluates to an object in the Applies To list.

value

Network address of the FTP site.

Applies To

SQLDistribution Object (Replication ActiveX)

SQLMerge Object (Replication ActiveX)

Remarks

FTPAddress is an optional property.

If specified, the FTPLogin Property (Replication ActiveX), FTPPassword Property (Replication ActiveX), and FTPPort Property (Replication ActiveX) properties are also used.

This option is useful when configuring the control to connect to a Distributor over the Internet, where the Distributor working directory is not directly accessible. Setting this property forces the control to download all publication snapshot files using FTP before applying them at the Subscriber.

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 or later publications unless the Subscriber is a SQL Server version 7.0 Subscriber.

Note

The publication must be enabled for the Internet.

Data Type

String

Modifiable

Read/write

Prototype C/C++

HRESULT get_FTPAddress(BSTR *pVal);
HRESULT put_FTPAddress(BSTR newVal);

See Also

Reference

Distributor Property (Replication ActiveX)
DistributorAddress Property (Replication ActiveX)

Help and Information

Getting SQL Server 2005 Assistance