File Transfer Protocol Class Methods  
 
Class Description
CFtpClient Constructor which initializes the current instance of the class.
~CFtpClient Destructor which releases resources allocated by the class.
Method Description
Allocate Allocate the specified number of bytes on the server.
AttachHandle Attach the specified client handle to this instance of the class.
AttachThread Attach the specified client handle to another thread.
Cancel Cancel the current blocking operation.
ChangeDirectory Change the current working directory on the server.
ChangeDirectoryUp Change the current working directory on the server.
CloseDirectory Close the open directory on the server.
CloseFile Close the current file on the server.
Command Send a command to the server.
Connect Establish a client connection with a server.
ConnectUrl Establish a client connection using the specified URL.
CreateDirectory Create the specified directory on the server.
CreateSecurityCredentials Create a new security credentials structure.
DeleteFile Delete a file from the server.
DeleteSecurityCredentials Delete a previously created security credentials structure.
DetachHandle Detach the handle for the current instance of this class.
DisableEvents Disable event notification.
DisableTrace Disable logging of network function calls.
Disconnect Disconnect the client session from the server.
DownloadFile Download a file from the server to the local system.
EnableEvents Enable event notification.
EnableFeature Enable the specified feature in the client.
EnableTrace Enable logging of network function calls to a file.
EnumFiles Populates an array of structures containing information about the files in a directory.
FileList Begin listing files in the specified directory.
FreezeEvents Suspend and resume event handling by the client.
FtpEventProc Callback function that processes events generated by the client.
GetActivePorts Return the range of local port numbers used for active transfers.
GetAutoFileType Return the file transfer type based on the file extension or content.
GetBufferSize Return the size of an internal buffer used during data transfers.
GetChannelMode Return the mode for the specified communication channel.
GetClientQuota Return quota information for the current client session.
GetData Copy the contents of a remote file to a local buffer.
GetDefaultZoneId Returns the default security zone information for downloaded files.
GetDirectory Get the current working directory on the server.
GetDirectoryFormat Get the format which is used by the server to list files.
GetErrorString Return a description for the specified error code.
GetFeatures Return the features available to the client.
GetFile Copy a file from the server to the local system.
GetFileList Return an unparsed list of files in a string buffer.
GetFileNameEncoding Return the character encoding used when sending a file name to the server.
GetFilePathUrl Return a normalized URL for the specified file on the server.
GetFilePermissions Return the access permissions for the specified file.
GetFileSize Return the size of a file on the server.
GetFileStatus Return file status information from the server.
GetFileTime Return the modification time for the specified file on the server.
GetFileType Return the default file type for the current session.
GetFileZoneInfo Return file zone identifier information for the specified local file.
GetFirstFile Return the first file from the file list returned by the server.
GetHandle Return the client handle used by this instance of the class.
GetIdleTimeout Return the idle timeout period for the control channel.
GetLastError Return the last error code.
GetMultipleFiles Copy multiple files from the server to the local system.
GetNextFile Return the next file from the file list returned by the server.
GetPriority Return the current priority for file transfers.
GetProxyType Return the proxy type selected by the client.
GetResultCode Return the result code from the previous command.
GetResultString Return the result string from the previous command.
GetSecurityInformation Return security information about the current client connection.
GetSecurityZoneId Returns the security zone identifier for the specified resource.
GetServerInformation Get system information about the server.
GetServerStatus Return system status of server.
GetServerTimeZone Return the timezone offset in seconds for the current server.
GetServerType Return the type of operating system the server is running on.
GetStatus Return the current client status.
GetText Download the contents of a text file to a string buffer.
GetTimeout Return the number of seconds until an operation times out.
GetTransferStatus Return file transfer statistics.
IsBlocking Determine if the current operation is blocked.
IsConnected Determine if the client is connected to the server.
IsInitialized Determine if the class has been successfully initialized.
IsReadable Determine if the client can read data from the data channel.
IsWritable Determine if the client can write data to the data channel.
Login Login to the server.
Logout Logout from the server.
MountStructure Mount a structure (filesystem) on the server.
NormalizePath Normalize the specified file name returning a canonical path.
NormalizeUrl Normalize the specified URL returning a canonical path.
OpenDirectory Open the specified directory for reading.
OpenFile Open the specified file for reading or writing.
ProxyConnect Establish a connection with a proxy server.
PutData Create a file on the server using the contents of a local buffer.
PutFile Copy a file from the local system to the server.
PutMultipleFiles Copy multiple files from the local system to the server.
PutText Create a text file on the server from the contents of a string buffer.
Read Read data from the server.
RegisterEvent Register an event handler for the specified event.
RegisterFileType Associate a file name extension with a specific file type.
RemoveDirectory Remove a directory from the server.
RenameFile Rename a file on the server.
Reset Reset the client connection.
SetActivePorts Set the range of local port numbers used for active transfers.
SetBufferSize Set the size of an internal buffer used during data transfers.
SetChannelMode Change the security mode for the specified channel.
SetDefaultZoneId Set the default security zone for downloaded files.
SetDirectoryFormat Set the format which is used by the server to list files.
SetFeatures Set the features which can be used by the client.
SetFileMode Set the current file mode.
SetFileNameEncoding Set the character encoding type used when sending a file name to the server.
SetFilePermissions Set the access permissions for the specified file.
SetFileStructure Set the current file data structure.
SetFileTime Set the modification time for the specified file on the server.
SetFileType Set the default file type for the current session.
SetFileZoneInfo Set or remove the zone identifier associated with the specified file.
SetIdleTimeout Set the idle timeout period for the control channel.
SetLastError Set the last error code.
SetPassiveMode Set the server in passive mode.
SetPriority Set the priority for file transfers.
SetTimeout Set the number of seconds until an operation times out.
ShowError Display a message box with a description of the specified error.
UploadFile Upload a file from the local system to the server.
ValidateHostName Validate the specified host name and return the resolved IP address.
ValidateUrl Check the contents of a string to ensure it represents a valid URL.
VerifyFile Compare the contents of a local file against a file stored on the server.
Write Write data to the server.