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