Dreamweaver has added thousands of blank lines to my code

I installed creative cloud and dreamweaver - I edited a few PHP  / HTML  / javascript  files on my server - now dreamweaver had added thousands of blank lines to my code. It will take days to clean them out and I can't seem to find a "find and replace" or "regular expression" to remove these... first of all... THANKS SO MUCH FOR GIVING ME THIS HEADACHE... and now.... HOW THE FRIG DO I GET RID OF THESE???
It is dreamweaver that did it...
I just tested and proved it.
Took a well formatted html doc....
Edited it (remotely) with two different software -
Then connected Dreamweaver Edited it again... and WHAMO!
11,0000 lines of new blank lines.
Dreamweaver is for sure confusing something as a new line.
Undoubted there is a reason for this... but it is for sure Dreamweaver the culprit for actuating it.
The files are of course downloaded as temp files - edited - and then uploaded at save....
So my tests are true and consistent.
Three different editing software all performing the exact same steps.
Yet - Dreamweaver adds thousands of blank lines.
It looks to me as though it is adding the line where there was a return. Somehow interpreting it as 2 line returns.
Whatever is happening - is happening inside dreamweaver, while using its "files connect to remote server" function.
These are live websites with custom PHP, PHP frameworks, MySQL calls, Javascript and...
I have been using the "Switch Design View To Live View" to test the PHP changes I make right in DreamWeaver.in Dreamweaver, how to prevent it, or how to get rid of the 10's of thousands of returns once they have been added.
If anyone has any actual answers as to why this is happening …. Please let me know.
I am not interested in assumptions from the many here who tend to waste a lot of space and time convoluting these forms.
This is a real problem and has already been proven to be actuated by Dreamweaver... So please... Only answers that may help sort out why or how this is happening within Dreamweaver.
Thank you.
Regards,
Ken

Ken, I just posted a potential solution.
Here is my post:
For people having issues with DW (or any other ftp app) adding extra blank lines: changing the ftp mode to BINARY probably solves this behaviour. It happened once to me when using Filezilla ftp.
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.
Then change the appropriate mappings.
Hope that helps fix the problem.It's a known problem in certain cases, though I haven't experienced it a lot (just once a few years ago in Filezilla, actually). It has to do with how a Windows system and certain Linux systems might interpret CR LF and LF line endings.
Read more here: https://wiki.filezilla-project.org/Data_Type

Similar Messages

  • Dreamweaver had added thousands of blank lines to my code

    I installed creative cloud and dreamweaver - I edited a few php / html / javascript  files on my server - now dreamweaver had added thousands of blank lines to my code. It will take days to clean them out and I can't seem to find a "find and replace" or "regular expression" to remove these... first of all... THANKS SO MUCH FOR GIVING ME THIS HEADACHE... and now.... HOW THE FRIG DO I GET RID OF THESE???

    LOL... HAHA Yes... and magic pixie dust and tooth fairies...
    Hog Wash!
    It is dreamweaver that did it...
    I just tested and proved it.
    Took a well formatted html doc....
    Edited it (remotely) with two different software -
    Then connected Dreamweaver Edited it again... and WHAMO!
    11,0000 lines of new blank lines.
    Dreamweaver is for sure confusing something as a new line.
    Undoubted there is a reason for this... but it is for sure Dreamweaver the culprit for actuating it.
    As for people like Ben Pleysier and Nancy O. ...
    It is really dangerous to give advice about things that you do not know to be true.
    You really should not offer speculation as truth... that is harmful to people... not helpful.
    It would be one thing to say "could be anything" but to defend dremweaver as "NOT the cause" and sight magic pixie dust and mysticism of editing "remotely" (Remotely... oh?! heaven help us : 0 )
    is just completely ridiculous. You are only proving here how little you know and how little you are willing to accept.
    I have found other people complaining about the same thing... Dreamweaver adding thousands... and in some cases 10's of thousands of blank lines.
    It is not magic pixie dust people... It is Dreamweaver that is doing this under specific conditions.
    It is Dreamweaver that did it...
    You guys want to gather around Hogwarts and talk about the mystical reasons this must have happened. Go ahead.. say hi to Harry and Hermione for me : )
    Just more proof how inept and ridiculousness a place like this is.
    How is this helpful to me as a customer?
    When what I need is a solution to the problem... a way to fix it or to save myself hours pof headache and lost time....
    Nope... instead I get the witches of Adobe conjuring up their mysticism...
    Really.... Really... If you cant nbe helpful... why just waste more time and precious data space on the internet with your rhetoric...
    Anyone have any >>>>>>>real<<<<<<< answers that are not delusional???

  • Thousands of blank lines in code view? Where did they come from?

    I have an older DW site, that for some reason when I open certain pages in code view show literally thousands of blank lines.  So line 1, code, line 2-15 are blank, then what used to be line 2 of the code, is now line 16. All the way down the line.  This one page literally has THOUSANDS of blank lines in it:
    Aurora Prom Corsages, Boutonnieres, Flowers, School Dance Flowers-Yorkville, Osego Illinois
    page renders, edits and looks fine in DW, browsers, etc. 
    My client edits it with Contribute. I use DW.
    There are certain pages he opens regularly, never saw the lines, other pages, just opens once a year, lines all over again.
    We can't find any rhyme or reason to it.
    Has anyone ever seen this?

    Try opening one of those pages in DW and then go to Commands > Apply Source Formatting and see if that cleans them out.
    I've heard of a bug where adding html comments can cause added blank lines in certain versions, I've never seen it myself though.

  • Extra blank lines in source code

    I have built a website in Dreamweaver CS4 and have a client editing pages in Contribute CS5. Both of us are working on Windows 7, and the site is hosted on Linux. When she makes edits to the page, something is introducing a GAZILLION blank lines in the source code. A typical page for this site is about 380 lines of code. The problem page is now more than 310,000 lines code with 100-200 blank lines between every "real" line of code. What the...?!
    I need to know how to stop this and how to remove the blank lines from the source code using Dreamweaver.
    The page in question lives here: http://www.alexandercitychamber.com/member-category.html
    HELP!!!
    Jeff

    Hello, Diane -
    We've got two separate issues here, but I think we have the solution to both.
    1. How to stop Contribute from adding blank lines in the code, and
    2. How to clean up a GAZILLION lines of blank code in a document.
    First, Number 1. I assume you're working in Dreamweaver. If not, I'm not sure how to guide you. But, when you define a Contribute Site, there is an area to specify administrative roles and permissions. Under each Role, at the bottom, you will see a popup for what kind of server the site is hosted on. The default is Windows. I had to change this to Unix (Linux) to match the hosting of our problem site. Find out what platform your host is using. You will have to specify this under each admistrative Role. After doing this, I had the client make some edits, then I opened the files in Dreamweaver. No new blank lines. I admit, I still have my fingers crossed somewhat.
    Okay, now how to clean up your source code and remove blank lines. A developer friend found this on some forum I had not seen. I don't know where, but I am grateful to the person who wrote it. It didn't get all the blank lines in my files, but I think some of the others, which I removed manually, were probably from the client pasting content in from Word. Here's what to do:
    1. Open the file in Dreamweaver
    2. Click CTRL + F, or go to EDIT > FIND AND REPLACE
    3. Select "Current document" in "Find In" (You can also select the folder if you have multiple files.
    4. Search in "Source Code"
    5. Check the box labeled "Use regular expression"
    6. Type "[\r\n]{2,}" (without quotes) in "Find"
    7. Type "\n" (without quotes) in "Replace"
    8. Press "Replace All"
    The operation chugged for a few minutes with my 301,000-line document. Yours may a take a little longer, but it did work. Good luck!
    Jeff
    [email protected]

  • TB 31.4 when compsing a message, has introduced a spurious blank line between the address boxes and subject box.

    When writing a new message I used to see two lines of address boxes followed by the subject line. So, when sending an email to a single recipient, that persons address would remain on screen as I composed the email.
    As of version 31.4 the initial "Write" window shows a single address line, the subject line, and a blank line between them. The consequence is that, upon entering the recipient's address, it immediately scrolls up and can no longer be seen. This happens regardless of how I enter the address i.e. start to type, select from address book and hit ENTER or TAB, or indeed if I choose an address from the address book sidebar. (See "capture1.png")
    If I increase the space available for the header data in the "Write" window I still get a blank line between the address lines and the subject line (see "capture2.png"). Furthermore, the next time I go to compose an email I am back with the original version of the "Write" window, as shown in "capture1.png".

    You might want to drop the author an email and let him know. It is not a major thing, but something that would probably require only a minor fix.
    I have found him helpful, but slow to reply. He is always on holidays when I email him.

  • Built in Record Behaviors & Added Blank Lines

    Mac OS 10.4.7 // DW 8.0.2
    ASP VBScript
    Bug Encountered: When using the built-in Insert Record the
    code view inserts MANY thousands of blank code lines between each
    ASP line of code. It can go from only a dozen to
    thousands of blank lines of code. How can I remove all of
    these extra lines without having to manually remove every line on
    every insert record behavior that I use?

    go to link:
    http://www.massimocorner.com/
    Look for Dreamwever> Productivity and get the Format
    Source 1.1 extension.
    Install and apply it.
    "Digital Muse" <[email protected]> schrieb
    im Newsbeitrag
    news:ed48a0$rge$[email protected]..
    > Mac OS 10.4.7 // DW 8.0.2
    > ASP VBScript
    > Bug Encountered: When using the built-in Insert Record
    the code view
    > inserts
    > MANY MANY blank code lines between each ASP line of
    code. It can go from
    > only
    > a dozen to well over 20, up to 30-ish blank lines of
    code. How can I
    > remove
    > these extra lines without having to manually remove
    every line on every
    > insert
    > record behavior that I use.
    >
    > Regards,
    > Monica Knutson
    > Creative Director
    > Digital Design Services, Inc.
    >

  • How to add blank lines (in column) in SQLplus

    I get error when doing below insert, how do I add blank lines in column (via SQLplus)?
    insert into a values(1, '78 ABC house,
    Some Road
    London E34');
    Thanks

    Just set "SQLBLANKLINES" to ON:
    SQL> set sqlblanklines on
    SQL>
    SQL> insert into dept values (50, 'This department
      2
      3  has several
      4
      5  blank lines','This
      6
      7  Loc') ;
    1 row created.
    SQL> select * from dept where deptno = 50 ;
        DEPTNO DNAME                          LOC
            50 This department                This
               has several                    Loc
               blank lines
    1 row selected.
    SQL>

  • SAX Locator linenumber off when blank lines in XML

    I'm using SAX to parse a valid XML document without a DTD. If the document
    has extra whitespace as blank lines, the lineNumber reported by the Locator
    is in correct, by a line or two. Is their some property or something to set
    to get these numbers to come out correct?
    Paul

    I was hoping for something like:
    xmlReader.setProperty("http://xml.org/sax/properties/reducePlusOrMinusErrorWhenYouSeeBlank LinesInSource", this);
    The weird thing is that without this property being set, the line number is often counted 2 or 3 lines too large when the XML has blank lines in it (and its not one for for one on the blank lines)
    Paul

  • Getting blank line in the smartform

    Hi,
    I have developed a smartform for which I am showing the current page amount total (subtotal) at the last of each page and Grand total on the last page. In case of last page I am showing only Grand total and not subtotal.
    But sometimes on the first page before showing the current page total (subtotal) a blank line appears.
    how can we remove this? I have seen the internal table for which the looping has done but this blank line has no connection with the internal table.
    What could be the reason behind this and how to resolve this?

    Hello,
    Plz write the text with in the loop(under the loop). It will work.
    Regards,
    Akg

  • Search for a blank line

    how can i search for a blank line thru a java program??

    how can i search for a blank line thru a java
    program??You can use following code:
    BufferedReader reader = null;
    try{
    File file = new File("C:/temp/abc.txt");
    FileReader reader = new FileReader(file);
    BufferedReader reader = new BufferedReader(reader);
    String line = null;
    while( (line = reader.readLine()) != null ){
    if(line.trim().length() == 0){
    //Code for handling the blank line.
    } else {
    //Code for handling the line with content.
    } catch(IOExcepttion ioe) {
    ioe.printStackTrace();
    } finally{
    if(reader != null){
    try {
    reader.close();
    }catch(IOException io){
    System.out.println("Error occured while closing Reader");

  • Dreamweaver Contribute Adds Blank Lines

    I'm having trouble with the Dreamweaver/Contribute relationship. I work in Dreamweaver and set my client up to work in Contribute. Over time thousands (200,000) blank lines are added into the file. Normally I use Command>Apply Formatting but eventually the file is so corrupted that this doesn't work and I have to rebuild the file and start over.
    Any ideas how to set up Dreamweaver/Contribute so that this does not happy. Or any other problem solving techniques greatly appreciated. Thank you.

    Please refer to https://blogs.adobe.com/contribute/2010/06/paragraph_spacing_options_in_a.html.
    Hope this solves your problem.

  • Extra Blank Line gets added at the Beginning of the file by File Adapter...

    Hello All,
    I have created an RFC to File Adapter scenario in PI 7,1 and I am using Content Conversion in the File Adapter to convert the payload structure to flat text file. The input Structure is simple as follows:
    <File>
    <FName>some file name</Fname>
    <Record>
      <Data>
          <Line>Text Lines</Line>
    </Date>
    </Record>
    </File>
    while using the following Content Conversion Parameters: While I have defined "Record" as Structure.
    Record.addHeaderLine   = 0
    Record.fieldSeparator      = 'nl'
    Record.endSeparator      = 'nl'
    Here everything is working fine except that the text file getting generated has a blank line at the beginning. I was thinking that by adding "Record.addHeaderLine   = 0" parameter, no header line will be added to the file but this seems to be not working. I tried to include the top element "File" with the same parameters and different combinations but was not able to achieve the result and it stopped the file creation altogether.
    So, I'll appreciate if anyone can suggest something to get rid of the this blank line at the beginning of the file.
    Regards,
    Athar

    Extra blank line is actually provided for the FNAME node, but not displayed because of it has different structure with Record node.
    Change the structure for FNAME to :
    <FName>
    <Data>
    <Line>some file name</Line>
    </Data
    </Fname>
    this way "some file name" will be dispalyed in the text file at the first line of file. To remove it use this trick, define the following values in Content Conversion Parameters:
    in the Recordset Structure : FName,Record
    FName.fieldFixedLengths     = 0
    FName.fixedLengthTooShortHandling =     Cut
    FNamee.fieldSeparator = '0'
    FName.endSeparator =     '0'
    Record.fieldSeparator = 'nl'
    Record.endSeparator = 'nl'
    Rgds,
    Triana

  • HT4623 I accidently disconnected to cord in the middle of updating software on my iphone4. it now has apple logo and blank loading line below. it will not do anything else. can't even switch off please help

    I accidently disconnected to cord in the middle of updating software on my iphone4. it now has apple logo and blank loading line below. it will not do anything else. can't even switch off please help

    Connect the iPhone to the compter you usually sync with
    and use iTunes on that computer to do the restore.

  • When paste to vim xterm, blanks lines are added after each line

    Need expert's help:
    When I copy from windows Firefox to my vnc's vim xterm, somehow after each line, several blank lines are added after every single line/paragraph. This is really annoying!
    I don't know how to solve it. I changed a my .vimrc to a very simple one, still not working.
    thanks!
    Qian

    You may have a fileformat problem.  I'm pretty sure this will work but I only did one small test.
    To display the current vim fileformat – this should return either 'dos' or 'unix'.
    :set ff
    Vim usually correctly sets the fileformat automatically upon opening a file but will default to using 'unix' if the format can't be determined.  After pasting the text, try the command,
    :update
    'update' will save the file only if changes to the buffer have occurred.  This command may change the fileformat and all the line endings are now CR-LFs (CR=carriage return; LF=line feed).  Check the fileformat again with
    :set ff
    If ':update' didn't change the line endings, or the file is now a mix of CR-LFs and LF-only line endings, try this,
    :e! ++ff=dos
    This should force rereading the buffer as a dos (Windows) format and properly display the lines. All line endings should now be CR-LF.  You can then manually set the fileformat to 'unix' with
    :set ff=unix
    and finally, save the file with
    :w

  • Help:i need a code for making a new text file then adding 1 blank line

    i have done makng load, edit and save for a command line text editor. now my problem is, i dont know how to make a new blank text file and store it on the current directory. and i need to have that new text have 1 blank line with full of white space. help please.

    PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("NewBlankTextFile.txt")));
    pw.println("                                                                                                                                         ");
    pw.close();

Maybe you are looking for

  • Report to check freight amount for a month

    Dear All, We have freight condition in the pricing procedure. We would like to know how much we paid against freight. Is there any standard report available to find out the same. Regards, Mullairaja

  • Printing problem with 8.0.  videos printing on paper

    I have used acrobat 6.0 for years, and have made many forms for my customers. When I made these forms with 6.0 I put videos on the forms to explain how to use the forms then when they print them the videos are not printed. However now that I have pur

  • Unable to create SUS Vendor User ID

    Hi Gurus, I've ticked the "Portal Supplier" indicator in BP screen. System triggered XML msg to PI and received successfully in SUS. Unfortunately the processing is failed, XML error msg as below:   <?xml version="1.0" encoding="UTF-8" standalone="ye

  • Get keypresses from SVGForm with only label components.

    I have a Screen class, extending SVGFORM, with only labels in it.No buttons or spinners and the like. The SVGForm is displayed and on clock ticks, I change the label strings (telling time). So no input facilities. The SVGForm has commands, Exit and p

  • I just downloaded pictures off of a flash drive, and half of the pictures are messed up?

    I just downloaded pictures off of my flash drive and half of the picture comes out really oddly.... Example: Does anyone know what is causing this?