The UseFTP property specifies whether snapshot files will be downloaded using FTP protocol by pull subscriptions.
object.UseFTP [= value]
object
Expression that evaluates to an object in the Applies To list
value
TRUE or FALSE
Boolean
Read/write
HRESULT GetUseFTP(LPBOOL pRetVal);
HRESULT SetUseFTP(BOOL NewValue);
When creating Internet-enabled pull subscriptions, set the UseFTP property to TRUE to download snapshot files from the Distributor using FTP protocol. Replication downloads files in .cab format, and then decompresses them automatically. Use the FTPAddress, FTPLogin, FTPPassword, and FTPPort properties of the Publication object to assign additional FTP-related settings.
The AltSnapshotFolder property cannot be set at the same time that UseFTP is set to TRUE because AltSnapshotFolder might be used in conjunction with transporting snapshot files by means of portable media.
Note If an application calls UseFTP on an instance of SQL Server version 7.0, the constant, SQLDMO_E_SQL80ONLY, and the message "This property or method requires Microsoft SQL Server 2000" are returned.