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 1078619
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:45:03+00:00 2026-05-16T21:45:03+00:00

Possible Duplicate: How can I stop Filezilla changing my linebreaks? SFTP from within PHP

  • 0

Possible Duplicate:
How can I stop Filezilla changing my linebreaks?
SFTP from within PHP

I have a php file which work in local, when I send it online it doesn’t work so I download it back and it’s now on a single line…

Basically before I send it via FileZilla FTP :

<?php
          code
          code
          code
?>

Once I download it back

<?phpcodecodecode?>

Any idea if it’s FTP Client related, host related, encoding related…etc…

I’ve never seen that in 4 years of coding, on 10-20 different hosts.

Edit
I code using NotePad++, I send with FileZilla and the host is iWeb, I’ve formatted my computer yesterday so it may be a weird setting I have not changed or something like that…

  • 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-16T21:45:03+00:00Added an answer on May 16, 2026 at 9:45 pm

    It’s probably changing your linebreaks from Windows to UNIX style (although NotePad++ should be able to display both styles).

    Try the settings from this old question: How can I stop Filezilla changing my linebreaks?

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

Sidebar

Related Questions

Possible Duplicate: How can I stop Filezilla changing my linebreaks? For some reason Filezilla
Possible Duplicate: Automatic exit from bash shell script on error How can I have
Possible Duplicate: How to stop C++ console application from exiting immediately? I have the
Possible Duplicate: Can't pass mysqli connection in session in php Many of us have
Possible Duplicate: How can I stop an onclick event from firing for parent element
Possible Duplicate: Stop EditText from gaining focus at Activity startup? I have an activity
Possible Duplicate: Can I run from command line program created by Eclipse? I am
Possible Duplicate: Can I scroll a ScrollView programmatically in Android? I have a chat
Possible Duplicate: Can I comment a JSON file? We are using a .json file
Possible Duplicate: Can Read-Only Properties be Implemented in Pure JavaScript? I have an Object

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.