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

  • SEARCH
  • Home
  • 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 3663582
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:32:48+00:00 2026-05-19T01:32:48+00:00

FTP predominately provides two transfer modes: ASCII and BINARY. ASCII mode is generally intended

  • 0

FTP predominately provides two transfer modes: ASCII and BINARY.

ASCII mode is generally intended for text-based content and that BINARY mode is generally intended for transferring content as-is, although transferring text-based content in BINARY mode is often perfectly safe.

ASCII mode is required for transferred CGI scripts to execute correctly – a CGI script transferred in BINARY mode will often result in an HTTP 500 upon execution.

Are there any other types of content that are known to require transfer by ASCII mode? What content will ‘break’ when transferred in BINARY mode that would not ‘break’ when transferred in ASCII mode?

  • 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-19T01:32:48+00:00Added an answer on May 19, 2026 at 1:32 am

    Binary mode will work for any data.

    The problem with CGI scripts is that they are often edited on Windows with CRLF line endings, and the servers expect the line endings to be just LF. ASCII mode solves this. But modern servers don’t care about this anymore, and also you can convert line endings on the server side if you have right tools, and also you can tell the editor on the client side to use LF as a line ending if you need to (at least Notepad++ seems to do this).

    I never saw charset conversion taking place in ASCII mode, just because ASCII is a charset.

    Update: ASCII mode can be used to convert data between EBCDIC and ASCII when connecting to mainframes. In this case binary mode would require manual conversion after transfer.

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

Sidebar

Related Questions

Reading the FTP RFC (RFC959), I notice some modes that I've never seen used,
We have a ftp system setup to monitor/download from remote ftp servers that are
How to utilize ftp? Is there a generic dll that I can use for
I'm building an FTP client from scratch and I've noticed that the response codes
I know that FTP does not support transferring and retaining file date/time stamps Wondering
Could anyone recommend FTP / SFTP client C/C++ library for Linux-based embedded system? I
I'm prototyping an ftp utility that will save a user's progress, and re-upload a
im doing projects in ftp and remoting,i transfer files very often ,while sending file
I have two ftp servers with fxp enabled on both, I'm just wondering how
I have an FTP batch file that uses DOS commands to pull down some

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.