• Login
Community
  • Login

How to see .htaccess file in directory tree

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 604 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    PeteNorris
    last edited by Aug 9, 2023, 2:51 PM

    Hello Forum;

    Question: How do I get the .htaccess file to show or display in the directory tree at the right in Notepad++?

    The directory tree for Notepad++ does not show the .htaccess file. I am using Version 8.5.4 of Notepad++.

    I am able to see the .htaccess file in FileZilla but not in Notepad++

    Here’s what the directory tree looks like in Notepad++:
    /home/mysite/public_html/ (no .htaccess file)
    folder_one
    folder_two
    folder_three
    index.php

    Here’s what the directory tree looks like in FileZilla:
    /home/mysite/public_html/ (displays .htaccess file)
    folder_one
    folder_two
    folder_three
    .htaccess
    index.php

    Thank you in advance.

    A 1 Reply Last reply Aug 9, 2023, 3:03 PM Reply Quote 0
    • A
      Alan Kilborn @PeteNorris
      last edited by Aug 9, 2023, 3:03 PM

      @Pete-Norris-0 said in How to see .htaccess file in directory tree:

      directory tree at the right in Notepad++?

      Wild guess: You are talking about the file/directory listing area of the NppFTP plugin? (posting screenshots would have helped clear up this situation)

      P 1 Reply Last reply Aug 9, 2023, 3:09 PM Reply Quote 0
      • P
        PeterJones @Alan Kilborn
        last edited by Aug 9, 2023, 3:09 PM

        @Pete-Norris-0 ,

        If @Alan-Kilborn was right about …

        file/directory listing area of the NppFTP plugin

        Just so you know, I have no problem seeing .htaccess
        00129493-9f71-492b-a87c-695b98b6b7ac-image.png

        I think it’s a function of the server (not the client) whether or not a normal FTP ls will show hidden files or not. Perhaps FileZilla is adding -al to the ls command, and your server wants that.

        If so, NppFTP has the option to add command-line switches to the FTP ls command. In the profile settings for the profile that connects to a given server, go to the FTP Misc. tab of the settings:
        df282e3f-4976-4bb1-bdc9-70386f6eed61-image.png

        Notice the “Hint: try “-al” to show hidden files”. So my suggestion to you is to add -al to the LIST parameters box, and see if that will have your NppFTP listing also show the hidden files.

        P 1 Reply Last reply Aug 9, 2023, 6:20 PM Reply Quote 1
        • P
          PeteNorris @PeterJones
          last edited by Aug 9, 2023, 6:20 PM

          @PeterJones

          Mr. Kilborn, Mr. Jones;

          Thank you for responding.

          I added the -al to the “LIST Parameters:” box under the FTP Misc. tab and it now works fine.

          Thanks again for the information.

          PN

          1 Reply Last reply Reply Quote 2
          4 out of 4
          • First post
            4/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors