The FTPLogin property exposes the security account used to connect to an FTP server that maintains replication subscription synchronization images.
object.FTPLogin [= value ]
object
Expression that evaluates to an object in the Applies To list
value
String that identifies a server security account
String
Read/write
HRESULT GetFTPLogin(SQLDMO_LPBSTR pRetVal);
HRESULT SetFTPLogin(SQLDMO_LPCSTR NewValue);
Microsoft® SQL Server™ replication can use FTP to transfer synchronization images of publication schema and data. Use the FTPAddress, FTPPort, FTPLogin, and FTPPassword properties to enable use of FTP for synchronization.
Applications should use the MergePublication2 or TransPublication2 objects when setting the FTPLogin property. The FTPLogin property remains a property of the TransPullSubscription and MergePullSubscription objects to maintain backward compatibility.
Note If an application sets FTPLogin with the MergePublication2 or TransPublication2 object after the initial snapshot has been created, a new snapshot must be generated. Snapshots are applied when the next scheduled snapshot agent runs.