If you need to see hidden files (like .htaccess or .gitignore) while using Transmit, the popular FTP/SFTP client for Mac, you can toggle their visibility with a simple keyboard shortcut or menu command. Press Command+Shift+. (period) in any file browser, or click the Action pop-up menu and select Show Invisible Files. This works in both the local and remote panes, and the setting persists for the session.
Why Invisible Files Are Hidden by Default
Transmit, like Finder and most Unix-based systems, hides files whose names begin with a dot (e.g., .htaccess, .gitignore, .DS_Store). These files often contain configuration or system metadata that you rarely need to edit during routine transfers. Hiding them reduces clutter and prevents accidental modification of critical settings. However, when you’re setting up a web server, debugging a deployment, or working with version control, you’ll need to see and transfer these hidden files.
How to Show Invisible Files in Transmit
There are two primary methods, both available in the current versions of Transmit (5.x and later):
- Keyboard shortcut: Press
Command+Shift+.(period) while the file browser is active. This toggles the visibility of invisible files in both the local (left) and remote (right) panes simultaneously. - Menu option: Click the Action pop-up menu (the gear icon) in the toolbar of either pane, then select Show Invisible Files (or Hide Invisible Files if they are already visible). This option is also available in the View menu.
When enabled, hidden files appear dimmed (semi-transparent) in the file list, just as they do in Finder when you use Command+Shift+. there. The setting applies to the current window and remains active until you toggle it off, even if you disconnect and reconnect to the same server.
What Counts as an Invisible File?
Transmit follows the Unix convention: any file or folder whose name starts with a dot is considered invisible. Common examples include:
.htaccess– Apache server configuration.gitignore– Git version control rules.env– Environment variables (often sensitive).DS_Store– macOS Finder metadata.ssh– SSH keys directory
Note that Transmit does not hide files based on extended attributes or Finder flags; it only uses the dot-prefix rule. If you have files hidden by other means (e.g., chflags hidden), they will still appear in Transmit.
When You Need to Show Invisible Files
Here are typical scenarios where you’ll need to toggle this setting:
- Deploying a website: Uploading or editing
.htaccessfor redirects, caching, or security rules. - Using version control: Ensuring
.gitignoreis transferred correctly to a server, or checking that hidden files are not being accidentally overwritten. - Managing environment configs: Editing
.envfiles for staging or production environments (be careful with sensitive data). - Debugging server issues: Checking for hidden log files or configuration files that may affect behavior.
Remember that showing invisible files also makes it easier to accidentally delete or modify them, so use caution when working with files you don’t fully recognize.
Common Problems and Fixes
If the shortcut doesn’t seem to work, check the following:
- Focus: Make sure the file browser (not a text field) has focus. If you’re typing in a rename field, the shortcut may not register.
- Keyboard layout: On some non-US keyboard layouts, the period key may require a different combination. Use the menu option as a reliable alternative.
- Version: Very old versions of Transmit (pre-4) may not have this feature. Update to the latest version from the Mac App Store or the developer’s website.
- Server-side restrictions: Some FTP servers may not list dotfiles even if the client requests them. In that case, try connecting via SFTP (SSH) which usually has no such restriction.
If you still can’t see hidden files after toggling, try disconnecting and reconnecting, as some servers cache directory listings.
Alternatives and Related Tips
If you prefer a different approach, you can also:
- Use Finder: Press
Command+Shift+.in Finder to show hidden files locally, then drag them into Transmit. However, this only affects the local pane. - Change server settings: Some FTP servers have a “list hidden files� option. For example, in vsftpd, set
force_dot_files=YES. This is a server-side change and affects all clients. - Use a different client: Cyberduck and FileZilla have similar toggles. In Cyberduck, it’s under View → Show Hidden Files; in FileZilla, it’s Server → Force showing hidden files.
Remember that Transmit’s setting is per-window. If you open a new window, you’ll need to enable it again.
Safety and Best Practices
When invisible files are visible, be extra careful with operations like “Sync� or “Delete.� Hidden files often contain credentials or configuration that, if corrupted, can break your site or server. Always double-check before overwriting or deleting any dotfile. For sensitive files like .env, avoid transferring them to public servers if possible, and never share them in logs or screenshots.
Frequently Asked Questions
Does the shortcut work in both panes?
Yes, Command+Shift+. toggles invisible files in both the local and remote panes at the same time. You cannot show them in only one pane.
Will Transmit remember my preference?
No, the setting is temporary and resets when you quit Transmit or open a new window. You’ll need to re-enable it each time you start a session.
Why can’t I see .htaccess even after showing invisible files?
If the file exists on the server but still doesn’t appear, the FTP server might be configured to hide dotfiles regardless of client settings. Try connecting via SFTP instead, which uses the SSH file system and typically lists all files.
Can I make hidden files always visible by default?
Transmit does not have a built-in setting to always show hidden files. You can only toggle per window. Some users automate this with AppleScript or keyboard shortcuts, but that requires third-party tools.
Does showing invisible files affect uploads?
No, the visibility setting only affects what you see in the file list. Transmit will still upload or download hidden files if they are part of a dragged selection or a sync operation, regardless of whether they are visible.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Secure Boot Battlefield 6 ASUS: Fix & Enable Guide
- Best Tech Websites to Follow for Pros & Beginners
- Second Wind Quest Walkthrough: Where Winds Meet6.00 min/km
- Enshrouded Weapon Upgrade Guide: How to Improve Gear5.00 min/km
- Connect Phone to Controller for Cloud Gaming
- Python Search Highlighting: Snippets & Matches