SmartFTP FTP Library
ISFTPConnection Interface
ISFTPConnection
IDL
interface ISFTPConnection : IDispatch;

This is class ISFTPConnection.

ISFTPConnection Methods 
Description 
Aborts the current operation. 
Closes the connection.
To gracefully close a connection use the Disconnect method. 
This is Connect, a member of class ISFTPConnection. 
This is CopyFile, a member of class ISFTPConnection. 
This is CreateStreamForRead, a member of class ISFTPConnection. 
This is CreateStreamForWrite, a member of class ISFTPConnection. 
This is Disconnect, a member of class ISFTPConnection. 
Downloads a file. 
This is DownloadFileEx, a member of class ISFTPConnection. 

MD5
128 bit hash
Format: hex string, 32 chars, lower case
Example: "0123456789abcdef0123456789abcdef"
Reference: RFC 1321 - The MD5 Message-Digest Algorithm 
This is GetSpaceAvailable, a member of class ISFTPConnection. 
Link 
Creates a link. 
Retrieves attributes from a file system object.
This method does not follow symbolic links. To follow symbolic links use the Stat method. 
Creates a new directory. 
Creates a new empty file. 
Retrieves directory listing. 
This is ReadDirectoryEx, a member of class ISFTPConnection. 
Reads the target of a symbolic link. 
Canonicalize any given path name to an absolute path.
If protocol version 6 is supported, use the RealPathEx method. 
Canonicalize any given path name to an absolute path. 
Removes a directory. 
Removes a file. 
Renames a file or directory. 
This is SetFileLogger, a member of class ISFTPConnection. 
Modifies file attributes of a file system object. 
Stat 
Retrieves attributes from a file system object.
This method does follow symbolic links. To retrieve the attributes of the link itself use the LStat method. 
Retrieves attributes from a file system object.
This method is a wrapper for the Stat and LStat methods. 
This is StatVFS, a member of class ISFTPConnection. 
Uploads a file. 
This is UploadFileEx, a member of class ISFTPConnection. 
ISFTPConnection Properties 
Description 
Busy 
This is Busy, a member of class ISFTPConnection. 
Specifies the code page used to perform conversations.
Default: -1 (Auto). 
Contains the number of bytes read/written from/to the file/stream during the last transfer. 
Contains the numeric code of the last status message from the server. 
Contains the last status message from the server. 
Contains the number of transferred bytes (64-bit) during the last data transfer. 
Contains the number of transferred bytes (high 32-bit integer) during the last data transfer. 
Contains the number of transferred bytes (low 32-bit integer) during the last data transfer. 
Contains the average transfer speed in bytes/second of the last data transfer. 
Contains the total time in milliseconds of the last data transfer. 
This is Logger, a member of class ISFTPConnection. 
Returns the protocol version negotiated. 
Specifies the preferred protocol version.
Default: 6 
This is ServerLineTerminator, a member of class ISFTPConnection. 
Contains the server state. 
This is SFTPServerCommand, a member of class ISFTPConnection. 
This is SSHConnection, a member of class ISFTPConnection. 
This is Status, a member of class ISFTPConnection. 
Specifies the timeout in seconds of the channel.
Default: 30 
This is UseMessageLoop, a member of class ISFTPConnection. 
This is VendorId, a member of class ISFTPConnection. 
What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.