<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>smart computer use? &#187; Troubleshooting</title>
	<atom:link href="http://smartcomputeruse.com/category/troubleshooting/feed/" rel="self" type="application/rss+xml" />
	<link>http://smartcomputeruse.com</link>
	<description>Smart computer use? Maybe, maybe not.</description>
	<lastBuildDate>Tue, 23 Jun 2009 15:23:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Is Dreamweaver mysteriously double spacing all your code?</title>
		<link>http://smartcomputeruse.com/2009/04/06/is-dreamweaver-mysteriously-double-spacing-all-your-code/</link>
		<comments>http://smartcomputeruse.com/2009/04/06/is-dreamweaver-mysteriously-double-spacing-all-your-code/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 16:42:59 +0000</pubDate>
		<dc:creator>lukemeister</dc:creator>
				<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[ASCII]]></category>
		<category><![CDATA[Binary]]></category>
		<category><![CDATA[CS4]]></category>
		<category><![CDATA[Dreamweaver]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[UltraEdit]]></category>

		<guid isPermaLink="false">http://smartcomputeruse.com/?p=381</guid>
		<description><![CDATA[

It was for me, at least. Recently at our office, after upgrading one of our developers to Dreamweaver CS4, I noticed that a lot site code now had mysterious double spacing. What the heck?
This was mainly an annoyance, as it didn&#8217;t rewrite code other than just double spacing every single damn line of code.
I noticed [...]]]></description>
			<content:encoded><![CDATA[
<!-- ALL ADSENSE ADS DISABLED -->
<p>It was for me, at least. Recently at our office, after upgrading one of our developers to Dreamweaver CS4, I noticed that a lot site code now had mysterious double spacing. What the heck?</p>
<p>This was mainly an annoyance, as it didn&#8217;t rewrite code other than just double spacing every single damn line of code.</p>
<p>I noticed that it was happening to all the sites that the new guy (with Dreamweaver CS4) was working on.</p>
<h3>Why was Dreamweaver mysteriously double spacing all his code?</h3>
<p>It turns out that Dreamweaver CS4 (and probably other versions) by default downloads all php/html/css/asp/etc. files in ASCII mode. For some reason, when doing this, Dreamweaver double spaces all the code. Why? I have no idea, it sucks and is annoying and stupid.</p>
<p>The problem can be resolved by changing Dreamweavers configuration to download those types of code files as Binary when using FTP.</p>
<h3>How to change FTP transfer to binary</h3>
<p>There is no &#8220;easy&#8221; way to do this in Dreamweaver, which I found to be odd. Every other FTP app I&#8217;ve ever used has the option to choose transfer type of Binary or ASCII up front during transfers or in the FTP account setup/management screens. Not Dreamweaver. You need to edit a text file to change the FTP transfer type to binary for certain file types.</p>
<p>To find the file, go into the folder where Dreamweaver was installed and search for this file:</p>
<ul>
<li>FTPExtensionMap.txt</li>
</ul>
<p>The file was in the &#8220;Adobe Dreamweaver CS4\configuration\&#8221; folder on my computer.</p>
<p>In that file you will find a simple list of file types and FTP transfer types. Just change the files that are being double spaced to &#8220;Binary&#8221; as the transfer type, save the file, and you should be good to go. Problem solved!</p>
<p>I should mention that problems like this are why I now use <a href="http://www.ultraedit.com/products/ultraedit.html" target="_blank">Ultraedit</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://smartcomputeruse.com/2009/04/06/is-dreamweaver-mysteriously-double-spacing-all-your-code/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
