Your best friend for file transfer.

Fetch application logoFetch

.htaccess not showing (8 posts)

  • Started 16 years ago by BDMSB
  • Latest reply 15 years ago from Scott McGuire
  • BDMSB Member

    My ISP tells me he has added a .htaccess file to a directory, but Fetch 5.3 doesn't show it. I can see a .htaccess file at my root, I have preference set to allow the files to show, and I have "Send LIST -al to UNIX Servers" selected.

    Anything else I can do?

    Posted 16 years ago #

  • Scott McGuire Administrator

    Hi,

    Please try the following:

    Open the Fetch Preferences, click the Miscellaneous tab, and make sure "Omit filenames beginning with a period" is unchecked.

    Then connect to your server, go to the directory in question, and then choose Refresh from the View menu.

    Do you see the .htaccess file?

    If not, let us know and we will and we will try to figure out why not.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 16 years ago #

  • BDMSB Member

    I never noticed the little "refresh" icon. Clicking on it makes the .htaccess file appear. I didn't know Fetch used a cache. I figured a Quit and re-run of Fetch would show me the current state of a directory.

    This solves my problem, thanks.

    Posted 16 years ago #

  • Scott McGuire Administrator

    Hi,

    We're glad to hear your problem is fixed, thanks for letting us know.

    Yes, Fetch uses a cache to speed the display of file lists, just like web browsers use caches to speed the display of webpages. And while we have tried our best to make sure it notices updates in each directory, on rare occasions it misses an update when it should have fetched a new file list (just as web browsers sometimes accidentally show an out of date webpage when they shouldn't).

    If you prefer, you can prevent Fetch from using cached file lists - and always getting a new one from the server - by going to the Fetch Preferences, clicking the Miscellaneous tab, and check the "Ignore file list cache" checkbox.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 16 years ago #

  • sunwize Member

    I'm having the same problem. What's odd is that on one of my web sites I can see the .htaccess file in the directory but in the other site it doesn't show anywhere. I've tried all of Scott's suggestions but to no avail.

    I need to add redirect codes to this site ASAP in the .htaccess file. Using MacOS 10.5.2 Fetch v5.3

    Thanks,

    Jeff

    Posted 15 years ago #

  • Scott McGuire Administrator

    Hi Jeff,

    Try this to get access to the .htaccess file even if you do not see it in the file list:

    * Go to the directory where you believe the .htaccess file is.
    * Hold down the Shift key.
    * While continuing to hold down the Shift key, click the Edit or Get button (click on whichever one you would use if you could see the .htaccess file).
    * In the dialog that appears, enter ".htaccess" (without quotes).

    If the file is there, it should be opened for editing (if you click Edit) or downloaded (if you clicked Get).

    If that doesn't work, there may not actually be a .htaccess file in the directory.

    If you go to the Remote menu and choose the "View Verbose File List", does .htaccess appear in that text-based list of files that appears?

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 15 years ago #

  • masswerk Member

    Originally posted by sunwize:

    I'm having the same problem. What's odd is that on one of my web sites I can see the .htaccess file in the directory but in the other site it doesn't show anywhere. I've tried all of Scott's suggestions but to no avail.

    I need to add redirect codes to this site ASAP in the .htaccess file. Using MacOS 10.5.2 Fetch v5.3

    Thanks,

    Jeff

    I had the same problem and just found out that you've to switch the option "Treat mistery items as files" off. (I think this is the english wording of this option; I'm using the german localization, where it reads "Nicht identifizierte Objekte als Dateien behandeln".)

    So you've to have the both options "Omit filenames beginning with a period" and "Treat mistery items as files" unchecked and the option "List -a" checked in order to see dot-files on any server.

    Posted 15 years ago #

  • Scott McGuire Administrator

    Hi masswerk,

    Thanks for the tips.

    Checking the "Treat mystery items as files" preference shouldn't be necessary for most servers, but it's there for the few that do need it.

    The "Use LIST -al command to reveal hidden files" preference is on by default in Fetch 5 (because it helps or doesn't hurt on most servers), and yes, for some servers it is necessary to have that enabled in order to see files whose names begin with a period.

    Best,

    Scott McGuire
    Fetch Softworks

    Posted 15 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.