File upload issue :/

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Publisher Bucks
    Confirmed User
    • Oct 2018
    • 1330

    #1

    Tech File upload issue :/

    So in my .php file the code looks like this:

    <li><a href="account.php">Login To Your Account</a>
    <li><a href="join.php">Sign Up For An Account</a>
    But when I go to edit the file on the server, the code looks like this:

    <li><a href=’account.php’>Login To Your Account</a>
    <li><a href=’join.php’>Sign Up For An Account</a>
    I have re-uploaded in both binary and ASCII modes, but the same thing is happening, any ideas why?

    This has just started happening this morning, could it be an issue with the host do you think?

    I'm using CuteFTP to upload the files if that is of any importance.
    Extreme Link List - v1.0
  • ZTT
    Confirmed User
    • Apr 2019
    • 659

    #2
    Perhaps whatever text editor you're using has stopped saving in UTF-8 for some reason. When you click Save there should be, on any decent text editor, an option to choose the character encoding, or maybe in the preferences/settings. Make sure it's UTF-8.
    __________________

    Comment

    • Klen
      • Aug 2006
      • 32235

      #3
      Pro tip: for code upload use SFTP protocol, and never worry about broken upload again.

      Comment

      • Publisher Bucks
        Confirmed User
        • Oct 2018
        • 1330

        #4
        Originally posted by ZTT
        Perhaps whatever text editor you're using has stopped saving in UTF-8 for some reason. When you click Save there should be, on any decent text editor, an option to choose the character encoding, or maybe in the preferences/settings. Make sure it's UTF-8.
        Thats what it was, seems like I may have inadvertently changed the setting when saving the 2nd or 3rd file I was writing.

        Appreciate the help
        Extreme Link List - v1.0

        Comment

        • Publisher Bucks
          Confirmed User
          • Oct 2018
          • 1330

          #5
          Originally posted by Klen
          Pro tip: for code upload use SFTP protocol, and never worry about broken upload again.
          Thanks for the tip
          Extreme Link List - v1.0

          Comment

          Working...