Skip navigation
Currently Being Moderated

Dreamweaver 6 corrupts files when uploading via Dreamweaver ftp tool

Jun 12, 2012 8:52 AM

Tags: #dreamweaver #javascript #ftp #corrupt_file #ftp_error

When I use Dreamweaver to upload a file very often something gets corrupt. Javascript ceases to work. The page runs locally and javascript works. The file is fine when I upload with a different ftp tool (fetch, Transmit, etc).

 

When I view the source of the non-working file the code looks all garbled.

 

When I upload the file witha diftterent ftp tool, all is well.

 

Never saw this before. What's up?

 

Using Mac, Lion, latest versions.

 
Replies
  • Currently Being Moderated
    Jul 31, 2012 2:25 AM   in reply to lipnorth69

    Did you get a solution to this? I have the same problem

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 31, 2012 1:09 PM   in reply to Andrew Russell

    Have you installed the 12.0.1 update which Adobe says addresses some FTP issues?

    https://blogs.adobe.com/dreamweaver/2012/07/dreamweaver-cs6-update-12- 0-1.html

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 1, 2012 1:56 AM   in reply to John Waller

    Hi John

    Just installed the upgrade but no change. I'm having to upload all my scripts with another ftp tool or CS5.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 1, 2012 2:54 AM   in reply to Andrew Russell

    Got any links to files that we can take a look at?

     

    I've never experienced this before on Win 7 or Mac OSX.

     

    Which flavour server are you uploading to? Linux?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 2, 2012 7:21 AM   in reply to lipnorth69

    I did the update on Mac, no dice. The same ftp problem also exists on Windows. This needs to be fixed now.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 3, 2012 10:33 AM   in reply to remoran

    Can you be more specific about how exactly the page is "garbled"?

    Perhaps you could attach a screenshot to illustrate the issue.

     

    Also, do you have any info about your web server's configuration? e.g., operating system, server software, etc.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 4, 2012 6:15 AM   in reply to Carey Burgess

    In my case, the files are not mangled but rather, the ftp on both Mac and Windows no longer works. On earlier versions of Dreamweaver, this is not the case. HTH

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 4, 2012 6:17 AM   in reply to remoran

    How does the FTP no longer work?  I mean, what happens when you try?  My CS6 connects without issue on both Mac and W7.

     

    Is this true for all sites on both platforms for you?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2012 3:00 AM   in reply to John Waller

    You can see a sample page here

     

    The js is a simple date script I've been using for years.

     

    Check out the formatting change after the upload with CS6 - This ONLY happens with CS6.

     

    Server - Linux,  apache 2.2.22

     

    Local - iMac 2.8ghz core i7 OS 10.8

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2012 4:38 AM   in reply to Andrew Russell

    In your preferences, what is your Line Break type set to (look under Code Format)?

     

    Here is a link to your script that is uploaded with CS6 to a Linux server (Apache version is irrelevant).  My Line break type is Windows.

     

    http://www.gws-sandbox.com/test-upload.js

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2012 7:12 AM   in reply to MurraySummers

    Line break in both CS5 & CS6 is CR (Macintosh) as it always has been.

     

    This seems to be an issue with Mac version of CS6 - the files upload perfectly well in CS5 and other ftp tools Transmit & Fetch

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2012 7:22 AM   in reply to Andrew Russell

    Try setting your linefeed to Unix.

     

    Here's a link to the file uploaded with CS6/Mac

     

    http://gws-sandbox.com/test-upload2.js

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2012 8:08 AM   in reply to MurraySummers

    That seems to have worked, though I had to edit and save the script.

     

    Can you tell me what happended there and why only in CS6?

     

    Thanks for your help - I will try with some more complicated scripts and let you know what happens!

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2012 8:18 AM   in reply to Andrew Russell

    A Macintosh line break is just a single Line feed chr(10), a Unix line break is a single carriage return chr(13).  Why this worked in CS5 as a Macintosh line break and not in CS6 escapes me.  My Mac is set to Unix breaks and has been like forever.  I dunno....

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 6, 2012 8:21 AM   in reply to MurraySummers

    Thanks Murray - appreciate the help :-)

     
    |
    Mark as:
  • Currently Being Moderated
    May 3, 2013 10:48 AM   in reply to lipnorth69

    I am experiencing a similar issue with mac os - set to Linux line feed.   I cahnceged it to MacIntosh.   I hope this helps in the future.

    However, the local fils edited and uploaded have the top navigation broken now - i think it is a spacing issue.  not sure how to correct

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points