Community
    • Login

    How to see .htaccess file in directory tree

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 1.0k Views 2 Watching
    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.
    • PeteNorrisP Offline
      PeteNorris
      last edited by

      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.

      Alan KilbornA 1 Reply Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @PeteNorris
        last edited by

        @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)

        PeterJonesP 1 Reply Last reply Reply Quote 0
        • PeterJonesP Online
          PeterJones @Alan Kilborn
          last edited by

          @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.

          PeteNorrisP 1 Reply Last reply Reply Quote 1
          • PeteNorrisP Offline
            PeteNorris @PeterJones
            last edited by

            @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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors