Gets or sets a bool value that specifies the data type for file transfers.
Documentation for this section has not yet been entered.
If you are sending binary data, such as an image, set this property to true. If you are sending text, set the property to false. Specifying true causes the System.Net.FtpWebRequest to send a "TYPE I" command to the server. Specifying false causes the System.Net.FtpWebRequest to send a "Type A" command to the server. FTP servers can ignore these commands.
Changing FtpWebRequest.UseBinary after calling the FtpWebRequest.GetRequestStream, FtpWebRequest.BeginGetRequestStream(AsyncCallback, object), FtpWebRequest.GetResponse, or FtpWebRequest.BeginGetResponse(AsyncCallback, object) method causes an InvalidOperationException exception.