Downloads and uploads data files and manages directories on servers. This class cannot be inherited.
The following tables list the members exposed by the FtpTask type.
Public Constructors
| 名称 | Description | |
|---|---|---|
| FtpTask | Initializes a new instance of the FtpTask class. | 
顶部
Public Properties
| 名称 | Description | |
|---|---|---|
| .gif) | Connection | Gets or sets the connection name of the FTP connection manager used by the task. | 
| .gif) | DebugMode | Indicates whether a task should check if breakpoints are enabled. | 
| .gif) | ExecutionValue | Overridden. Returns a user-defined object. This property is read-only. | 
| .gif) | IsLocalPathVariable | Indicates whether the local path is stored in a variable or a FILE connection manager. | 
| .gif) | IsRemotePathVariable | Indicates whether the remote path is stored in a variable. | 
| .gif) | IsTransferTypeASCII | Indicates whether files transferred to and from the remote FTP server should be transferred in ASCII mode. | 
| .gif) | LocalPath | Gets or sets the local path to use. The local path can refer to a FILE connection manager or a variable name. | 
| .gif) | Operation | Gets or sets a value from the DTSFTPOp enumeration that indicates the FTP operation to perform. | 
| .gif) | OperationName | Gets or sets a unique name for the File Transfer Protocol (FTP) task. | 
| .gif) | OverwriteDestination | Specifies whether a file at the destination can be overwritten. | 
| .gif) | RemotePath | Gets or sets the remote path to use. | 
| .gif) | StopOnOperationFailure | Indicates whether the File Transfer Protocol (FTP) task terminates when the FTP operation fails. | 
| .gif) | SuspendRequired | Gets or sets a Boolean that indicates if tasks should suspend when they encounter a breakpoint. This value is set by the runtime engine for tasks and containers when a breakpoint is encountered. | 
| .gif) | Version | Returns the version of the task. This property is read-only. (inherited from Task) | 
| .gif) | WaitForMe | Returns a Boolean that indicates whether the parent container should wait for completion of this task. This property is read-only. (inherited from Task) | 
顶部
Public Methods
(see also Protected Methods )
| 名称 | Description | |
|---|---|---|
| .gif) | AcceptBreakpointManager | Passes a BreakpointManager to a task. This method is called by the runtime and is not used in code. | 
| .gif) | CanUpdate | (inherited from Task ) | 
| .gif) | Equals | Overloaded. (inherited from DtsObject ) | 
| .gif) | Execute | Overridden. Runs the task. | 
| .gif) | GetConnectionID | (inherited from Task ) | 
| .gif) | GetConnectionName | (inherited from Task ) | 
| .gif) | GetHashCode | Returns the hash code for this instance. (inherited from DtsObject) | 
| .gif) | GetType | (inherited from Object ) | 
| .gif) | InitializeTask | Overridden. Initializes the properties associated with the task. This method is called by the runtime and is not used in code. | 
| .gif) | LoadFromXML | This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method. | 
| .gif) .gif) | op_Equality | (inherited from DtsObject ) | 
| .gif) .gif) | op_Inequality | (inherited from DtsObject ) | 
| .gif) .gif) | ReferenceEquals | (inherited from Object ) | 
| .gif) | ResumeExecution | Resumes execution of the task after pausing. The task or container is resumed by the runtime engine. | 
| .gif) | SaveToXML | This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method. | 
| .gif) | SuspendExecution | Indicates that the executable needs to suspend. This method is called by the runtime engine. | 
| .gif) | ToString | (inherited from Object ) | 
| .gif) | Update | (inherited from Task ) | 
| .gif) | Validate | Overridden. Verifies that the component is properly configured. | 
顶部
Protected Methods
| 名称 | Description | |
|---|---|---|
| .gif) | Finalize | (inherited from Object ) | 
| .gif) | MemberwiseClone | (inherited from Object ) | 
顶部
请参阅
参考
FtpTask Class
Microsoft.SqlServer.Dts.Tasks.FtpTask Namespace