Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 384745
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T15:24:37+00:00 2026-05-12T15:24:37+00:00

When I upload/download some HTML/CSS/… file to FTP server, sometimes something puts every line

  • 0

When I upload/download some HTML/CSS/… file to FTP server, sometimes something puts every line of code in one line making it completeply unreadable. That something happens every now and then and I’m still looking for an explanation for this behaviour. What could cause this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T15:24:37+00:00Added an answer on May 12, 2026 at 3:24 pm

    It has to do with text file line endings and FTP transfer modes.

    • Text files in Windows use a combination of carriage return and line feed at the end.
    • Text files in Mac OS9 and down use carriage return only.
    • Text files in UNIX and its clones (including OSX) use line feed only.

    It sounds like you’re pulling a UNIX-style text file to a Windows system in binary mode and then trying to view it in an editor that doesn’t understand these differences.

    FTP clients have an ASCII (or ASC) transfer mode to do these conversions for you. It’s not usually turned on by default, though, as it messes up binary files.

    Two solutions are to use an editor that understands the differences or use an FTP client that allows you to tell it that specific file extensions should be transferred in ASC mode.

    P.S. This is probably better asked on superuser or serverfault.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented a simple file upload-download mechanism. When a user clicks a file
My ASP.NET application allows users to upload and download large files. Both procedures involve
I've been writing a little application that will let people upload & download files
I am trying to upload a file or stream of data to our web
I want to upload and then process a file in a Ruby on Rails
How would I upload a file to a webserver using c++ and MFC. We
Everytime I upload a file to my ASP.NET site, all users are logged out
I'm trying to upload an application to the iPhone App Store, but I get
I'm trying to upload documents to SharePoint using web services attaching custom metadata to
I need to upload images using FileUpload without postback(using Ajax).I tried many examples.But in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.