The DestSite property sets or returns the destination directory to which the transferred files will be moved by a file transfer protocol (FTP) task.
object.DestSite [= value]
| Part | Description |
|---|---|
| object | Expression that evaluates to a DTSFTPTask object |
| value | Destination directory to which the transferred files will be moved |
String
Read/write
HRESULT GetDestSite(BSTR* pVal);
HRESULT SetDestSite(BSTR pVal);
The property also can be referenced through the Properties collection of the Task object with the following code:
Set taskprops = task.Properties
taskprops("DestSite") [= value]