The FTPPort property specifies the TCP port number of the FTP site where the publication snapshot files are stored.
| SQLDistribution Object | SQLMerge Object |
object.FTPPort [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to an object in the Applies To list |
| value | TCP port number of the FTP site |
The default value is 21.
Long
Read/write
HRESULT get_FTPPort(long *pVal);
HRESULT put_FTPPort(long newVal);