Value |
Description |
FTP_EVENT_CONNECT |
The control connection to the server has completed. The
high word of the lParam parameter should be checked, since
this notification message will be posted if an error has
occurred. |
FTP_EVENT_DISCONNECT |
The server has closed the control connection to the
client. The client should read any remaining data and
disconnect. |
FTP_EVENT_OPENFILE |
The data connection to the server has completed. The
high word of the lParam parameter should be checked, since
this notification message will be posted if an error has
occurred. |
FTP_EVENT_CLOSEFILE |
The server has closed the data connection to the client.
The client should read any remaining data and close the data
channel. |
FTP_EVENT_READFILE |
Data is available to read by the calling process. No
additional messages will be posted until the client has read at
least some of the data. This event is only generated if the
client is in asynchronous mode. |
FTP_EVENT_WRITEFILE |
The client can now write data. This notification is sent
after a connection has been established, or after a previous
attempt to write data has failed because it would result in a
blocking operation. This event is only generated if the client is
in asynchronous mode. |
FTP_EVENT_TIMEOUT |
The network operation has exceeded the specified timeout
period. The client application may attempt to retry the
operation, or may disconnect from the server and report an error
to the user. |
FTP_EVENT_CANCEL |
The current operation has been canceled. Under most
circumstances the client should disconnect from the server and
re-connect if needed. After an operation has been canceled, the
server may abort the connection or refuse to accept further
commands from the client. |
FTP_EVENT_COMMAND |
A command has been issued by the client and the server
response has been received and processed. This event can be used
to log the result codes and messages returned by the server in
response to actions taken by the client. |
FTP_EVENT_PROGRESS |
The client is in the process of sending or receiving a file
on the data channel. This event is called periodically during a
transfer so that the client can update any user interface
components such as a status control or progress bar. |
FTP_EVENT_GETFILE |
This event is generated when a file download has completed.
If multiple files are being downloaded, this event will be
generated for each file. |
FTP_EVENT_PUTFILE |
This event is generated when a file upload has completed. If
multiple files are being uploaded, this event will be generated
for each file. |