SFTP Members

Public Instance Constructors

SFTP Constructor Creates new instance of wodSFTP.NET

Public Instance Properties

Authentication Determine type of authentication used.
Blocking Determine if methods are blocking.
DebugFile Name of file where debug info will be dumped.
Encryption Encryption method that will be used for communication.
Hostname Hostname of server where we will connect.
LastError Holds last error that occured, if any.
LicenseKey Holds license key for retail version of the component.
ListItem Read-only property that returns last FileInfo as returned by ListItems event.
LocalPath Holds name of local path used for transferring files.
Login Login (username) information that will be sent to the server.
MaxTransferRate Determines maximum allowed upload/download speed.
Password Password that will be sent to the server.
Port Port on the server where we will connect.
PrivateKey Holds private key for authentication.
ProxyHostname Specifies the hostname of proxy to use.
ProxyLogin Specifies the login/username to use when connecting to proxy server.
ProxyPassword Specifies the password to use when connecting to proxy server.
ProxyPort Specifies the port to use for proxy server.
ProxyType Specifies the type of proxy to use.
RemoteIdentification Holds remote identification string.
RemotePath Holds name of path on the server used for transferring files.
Resume Determines if wodSFTP.NET will try to resume file transfer.
State Read-only property that returns current component state.
Timeout Total number of seconds to expire before we are automatically disconnected from the server.
TransferMode Determines if transfer is ASCII or binary.
TransferRate Returns average speed of the file transfer.
TransferTime Returns time needed to transfer current or previous file.
Version Holds version information.

Public Instance Methods

Abort Aborts current transfer.
About Shows about box.
AppendFile Overloaded. Appends file on the server.
Connect Overloaded. Connects to the server.
DeleteFile Overloaded. Deletes file on the server.
DeleteFiles Overloaded. Delete multiple files in a sequence, recursive.
Disconnect Overloaded. Disconnects from the server, nicely.
GetAttributes Overloaded. Retrieves file or folder attributes.
GetFile Overloaded. Downloads file from the server.
GetFiles Overloaded. Downloads multiple files in a sequence, recursive.
ListAttributes Lists contents of a directory and provides it as a structure.
ListDir Overloaded. Lists contents of a directory on the server.
ListNames Overloaded. Lists contents of a directory on the server, and returns only names.
LoopFiles Overloaded. Loops through multiple files in a sequence, recursive, giving their names.
MakeDir Overloaded. Creates directory on the server.
PutFile Overloaded. Uploads file to the server.
PutFiles Overloaded. Uploads multiple files in a sequence, recursive.
RealPathOverloaded. Retrieves real path for the symbolic link.
RemoteCloseCloses remote file.
RemoteOpenOpens remote file for raw access.
RemoteReadReads from remote file.
RemoteWriteOverloaded. Writes to remote file.
RemoveDirOverloaded. Deletes directory on the server.
RenameOverloaded. Renames file or directory on the server.
SetAttributesOverloaded. Sets file or folder attributes.
StateTextOverloaded. Returns string expression that represents current state.

Public Instance Events

AttributesEvent Fires when wodSFTP.NET has information about file attributes.
AttributesDataEvent Fires when wodSFTP.NET has information about file attributes as a structure.
ConnectedEvent Fired when wodSFTP.NET successfully connects to the server.
CryptoInformationEvent Fired when wodSFTP.NET establishes encrypted connection with the server.
DisconnectedEvent Fired when wodSFTP.NET disconnects from the server.
DoneEvent Fires when initiated method has completed.
FingerPrintEvent Fired when wodSFTP.NET receives public key from the server.
ListItemsEvent Fires when wodSFTP.NET has information about file or directory list.
LoopErrorEvent Fires after wodSFTP.NET performs operation on item and error occurs.
LoopItemEvent Fires before wodSFTP.NET performs operation on file from the GetFiles/PutFiles/DeleteFiles/LoopFiles sequence.
ProgressEvent Fires during file transfers to show current progress of the upload or download.
RemoteDataEvent Fires after wodSFTP has some data to be provided as result of RemoteRead command.
StateChangedEvent Fires when wodSFTP.NET changes its state.

See Also

SFTP Class | WeOnlyDo.Client Namespace