The SetClientFileType method will change the default
file type that is used for subsequent transfers by the client. If the
file type is set to FILE_TYPE_ASCII then the server will automatically
convert any end-of-line character sequences to match the format used
by the local system. For example, if the client is connecting from a
UNIX based system, the server will convert a single linefeed character
to a carriage return (CR) and linefeed (LF) sequence. If the file type
is set to FILE_TYPE_IMAGE, then no conversion is performed.
This method can be used to override the file type specified
by filtering the TYPE command issued by the client. For example, it
could be used to force file transfers to use a specific type based on
the file extension, regardless of the type specified by the client. To
determine the current file type set by the client, use the
GetClientFileType method.