View Single Post
  #1 (permalink)  
Old 20-06-2009, 11:28
richardb richardb is offline
new member
 
Join Date: Apr 2009
Posts: 5
Default strange ftp upload behaviour

I'm editing a file that already existed on my site and was working

I upload the new version - and the page doesn't display.

When I go and have a look at it using the cPanel File Manager - all the code is now on a single line.

This if course means my single line comments - //comments - now comment out most of the script.

If I now change the comments to /*comments*/ - it al works

But - It wasn't like that the last time I uploaded the file. It was on multiple lines and worked fine.

Why is this happening? Is it my editor (Evrsoft Fisrt Page 2006) - or is something happening when it is uploaded.

It dirves me crazy becuase it does this intermittantly on different files at different times, when I have made no other changes.

Any thoughts?

Richard
Reply With Quote