Dreamweaver double spacing PHP files on upload
Dreamweaver automatically uses ASCII to transfer readable text based files (like html and php). To change this transfer mode to BINARY, open FTPExtensionMap.txt (WIndows in AppData\Roaming\Adobe\Dreamweaver CS6\en_US\Configuration) and edit that file in a text editor.
or on MAC in the Dreamweaver folder subfolder Configuration edit FTPExtensionMapMac.txt
ftp software like Filezilla defaults to BINARY thats why it works great.
Good Luck ))_