loresoft/msbuildtasks — pull request #128 by pladynski (2014-05-06 17:24:58+00:00)
Title: Extended FtpUploadDirectoryContent with support for setting file transfer type (Binary or ASCII)

Extended FtpUploadDirectoryContent with support for new attribute "FileTransferType" which allows to modify file transfer type between default ASCII and BINARY. It is very important for uploading to FTP text files or MSI packages. If ASCII mode is active files get corrupted and modified. This change solves this issue allowing users to overwrite default type and set binary mode.

More about File Transfer Type:
http://www.serv-u.com/newsletter/NewsL2008-03-18.asp

"FileTransferMode" name is used instead of type sometimes however the RAW FTP command is called "TYPE" and command "MODE" stands for different option so not to make it confused with "MODE" raw command i decided to stick to the official FTP documnation and call it "FilesTransferType".

Regards! :)
Przemek