The FTPAddress property specifies the IP address of the FTP site where publication snapshot files are stored.
SQLDistribution Object | SQLMerge Object |
object.FTPAddress [= value]
Part | Description |
---|---|
object | Expression that evaluates to an object in the Applies To list |
value | Network address of the FTP site |
FTPAddress is an optional property.
If specified, the FTPLogin, FTPPassword, and FTPPort 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 will force the control to download all publication snapshot files using FTP (file transfer protocol) prior to applying them at the Subscriber.
Note: The publication must be enabled for the Internet.
String
Read/write
HRESULT get_FTPAddress(BSTR *pVal);
HRESULT put_FTPAddress(BSTR newVal);
Distributor Property | DistributorAddress Property |
Configuring Publications for the Internet |