Dart Ftp Control
Ftp Object Members
Overview 
Public Methods
Public Method AbortAbort any blocking method and release all system resources.
Public Method AbortCommandGracefully abort the last command sent.
Public Method AboutDisplay Control information in a dialog box.
Public Method ChangeDirectoryUpSet the working directory to the parent directory. The Directory property can be checked to discover the new working directory.
Public Method ClearCertificateClears the Certificate object contained in the Certificate property.
Public Method CommandSend any command string to the server. This method is useful for using servers that have an extended vocabulary.
Public Method DeleteDelete a file on the server.
Public Method GetLog in, get a file, and log out in one step.
Public Method HelpRequest helpful information from the server. The command takes an optional argument (for example, any command name) and returns more specific information as a response.
Public Method ListGet a file directory listing. The server sends name and supplementary information on each file found within the specified PathName. The Listing property is populated with this information.
Public Method LoginConnect to a server and send the commands to authenticate a session.
Public Method LogoutGracefully log off and terminate the connection.
Public Method MakeDirectoryCreate a directory.
Public Method MGetRetrieve (get) multiple files or entire directory trees.
Public Method MPutStore (put) multiple files or entire directory trees.
Public Method NameListGet a file directory listing without file attributes. The server sends a file name for each file found within the PathName specified. The Listing property is filled with filenames (only the Name property is initialized).
Public Method NoOperationCheck the status of the control connection. The server should send an OK reply.
Public Method PutLogin, store a file, and logout in one easy step.
Public Method RemoveDirectoryRemoves a directory.
Public Method RenameRenames a file.
Public Method RetrieveRetrieve (get) a complete file or part of a file starting at a specified position.
Public Method SiteSpecify or request site-specific services. The nature of these services and the specification of their syntax can be found in the Result parameter of the Help method.
Public Method StatusGet server status information.
Public Method StoreStore (send) a complete file, or part of a file starting at a specified position.
Public Method StructureMountMount a different file system data structure without altering login or accounting information.
Public Method Trace

Start or stop the accumulation of trace or debug data. Once started, this method accumulates data until it is turned off.

This method provides a convenient mechanism for viewing all data being sent and received over the connection and can be used to troubleshoot host interoperability issues and expose protocol communications.

Public Properties
Public Property AllocateIndicates whether space will be allocated on a server as part of the Store method.
Public Property AuthenticationSpecifies the security protocol and authentication type used.
Public Property BlockedA True value indicates the control is currently executing a blocking method (Timeout is greater than 0), which has neither completed nor timed out with a ptTimeout error.
Public Property CertificateCertificate to use when authenticating to the remote host.
Public Property DirectoryWorking directory on the server.
Public Property FileStructureFile structure to be used for subsequent file transfers.
Public Property IpV6Specifies whether hostname addresses should be favorably resolved to IPv6.
Public Property ListingContains the listing results from the last use of the List or NameList methods.
Public Property LocalAddressWhen connected, the address of the local host in dot notation.
Public Property LocalDataPortGets or sets a string used to restrict the local data port to a value or range compatible with your firewall.
Public Property LocalPortWhen connected, the port being used by the local host.
Public Property OverwriteSpecifies if existing files should be overwritten on MGet.
Public Property PassiveEnables firewall friendly passive connections for data transfers.
Public Property ProtocolSpecifies the security protocol(s) to advertise during SSL/TLS negotiation.
Public Property ProxyHostSpecifies the hostname or address of the proxy server that requests are to be routed through.
Public Property ProxyPasswordPassword to be sent on all requests through a proxy server that requires authentication.
Public Property ProxyPortSpecifies the port used by proxy server that requests are to be routed through.
Public Property ProxyTypeThe type of proxy server used for this connection.
Public Property ProxyUsernameUsername to be sent on all requests through a proxy server that requires authentication.
Public Property ReceiveBufferSizeSpecifies the size of the buffer used for receiving incoming data.
Public Property RemoteAddressReturns the address of the remote host in dot notation (i.e. nnn.nnn.nnn.nnn) when State is tcpConnected.
Public Property RemotePortWhen connected, the port being used by the remote host.
Public Property RestartIndicates whether the server supports a restart mechanism for file downloads.
Public Property SecretKeySets the secret key used in password encryption.
Public Property SecuritySets the security level during communication.
Public Property SendBufferSizeSpecifies the size of the buffer used for outgoing data.
Public Property StateProvides the current state of the connection. The State event fires to signal that this property has changed.
Public Property StoreTypeSpecifies the type of store transfer to perform. The default is ftpStore.
Public Property SystemReturns the type of operating system being used on the server.
Public Property TimeOutControls the blocking behavior of methods that can be used in blocking and non-blocking ways.
Public Property TransferModeSpecifies the mode to use for a file transfer. The default is ftpStream.
Public Property TypeSpecifies the data type to use for a file transfer. The default is ftpAscii.
Public Property UseControlAddressForPassiveUsed to specify the use of the Control connection IP address (rather than the one supplied by the server) to establish the data connection
Public Property UseIpSyncIndicates whether IP/SYNC (Interrupt Process and Synch) bytes are sent with the ABOR command.
Public Property UseSslShutdownSpecifies use of SSL Shutdown handshaking before closing
Events
Public Event AuthenticateFires when the remote host has sent a certificate to be authenticated.
Public Event CertificateFires when the remote host is requesting a certificate and the Certificate property is not set to a valid Certificate Object.
Public Event ErrorFires when Error Method can be used to access an error indication that just occurred.
Public Event ProgressFires when the server replies to a command or while a file transfer takes place. The control interprets the reply and presents progress information with this event.
Public Event Progress64Fires when the server replies to a command or while a file transfer takes place. The control interprets the reply and presents progress information with this event.
Public Event StateFires when the State property changes.
See Also

Ftp Object


PowerTCP FTP for ActiveX Documentation Version 2.2
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic