Welcome, Guest. Please login or register.
Did you miss your activation email?
July 29, 2014, 06:43:58 AM

Login with username, password and session length

Last 25 Topics



Note:  Clicking the link above will open a new tab in your browser !!

Recent

Members
Stats
  • Total Posts: 173613
  • Total Topics: 19827
  • Online Today: 81
  • Online Ever: 278
  • (October 31, 2012, 08:52:18 AM)
Users Online
Users: 1
Guests: 51
Total: 52

Donate

Help us to keep the support site
going, Please consider a small donation.

Thank you
Please read the Posting Guidelines

Author Topic: Extra line feeds in FTP'd files.  (Read 2864 times)

0 Members and 1 Guest are viewing this topic.

Online Freddy

  • Code
  • *
  • Posts: 1550
    • AiDreams
Extra line feeds in FTP'd files.
« on: August 26, 2011, 02:24:38 PM »
I've been curious about this for a while.  Sometimes when I download a file from my server using FTP, I get a file with extra line feeds, sometimes quite a few between each line.  Does anyone else get that or know why that may be. At first I thought it was due to hacking but I don't think it is.

It's easy to repair with Notepad++, but I still wonder why it happens.  :-\

Offline IchBin™

  • Developer
  • *
  • Posts: 16096
    • My Website
Re: Extra line feeds in FTP'd files.
« Reply #1 on: August 26, 2011, 02:56:56 PM »
I'm not sure which program is causing it, but it's usually caused by an editor not treating the line/carriage returns improperly. That's why in notepad++ you can convert the line endings to fix it. Not sure what exactly the cause of it. I've noticed the same problem on this site when opening many of the files.

Offline Skhilled

  • Beta Tester
  • *
  • Posts: 932
  • Retro Gamer!
    • Doc Skillz
Re: Extra line feeds in FTP'd files.
« Reply #2 on: August 26, 2011, 04:56:47 PM »
I've noticed it over the past few years myself. Never found out what was causing it but assumed it was a server issue. Sometimes, it happens while other times it does not. Then again, I've noticed that it only seems to happen on certain servers.

Online Freddy

  • Code
  • *
  • Posts: 1550
    • AiDreams
Re: Extra line feeds in FTP'd files.
« Reply #3 on: August 27, 2011, 06:20:36 AM »
Thanks guys, well at least it seems like nothing to worry about. I thought it might be FileZilla, but who knows.

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 2896
Re: Extra line feeds in FTP'd files.
« Reply #4 on: August 27, 2011, 09:46:37 AM »
When you say file I assume you mean a php/text file? but I cant say that I have ever seen this before Rog, and I have used filezilla for a few years now.
Please don't PM me for support without an invitation.


DOMAINS | WEBHOSTING | IRCD | VPS SERVER | RESELLER | MINECRAFT | SHOUTCAST

Online Freddy

  • Code
  • *
  • Posts: 1550
    • AiDreams
Re: Extra line feeds in FTP'd files.
« Reply #5 on: August 27, 2011, 10:08:55 AM »
Yes php files mainly.  I'm just guessing Les.

Offline IchBin™

  • Developer
  • *
  • Posts: 16096
    • My Website
Re: Extra line feeds in FTP'd files.
« Reply #6 on: August 27, 2011, 02:29:03 PM »
It's usually the text editor that causes it. When line endings are treated differently, then the file is saved it shows all borked up when open with an editor that doesn't treat the line endings the same way. I've seen editors do it all too often.

Offline Skhilled

  • Beta Tester
  • *
  • Posts: 932
  • Retro Gamer!
    • Doc Skillz
Re: Extra line feeds in FTP'd files.
« Reply #7 on: August 27, 2011, 02:33:08 PM »
I strictly use Filezilla over the past 2 years but have also seen it happen with conTEXT. The last server I was on it happened a lot but only twice so far on the one I'm on now. But then again, I 've upgraded Filezilla a few times since then.