On this page
FTP links not working in a browser can leave documentation readers unable to reach downloads or reference material. Before replacing those links, inventory them, check how the intended audience accesses them, and verify that any proposed HTTPS URL provides the right resource—not merely a successful HTTP response.
Key Takeaways
- Browser FTP behavior can differ by browser, version, operating system, and external application configuration. Check the environments your readers use.
- An HTTPS URL is a replacement only if readers can access the intended file or service under acceptable conditions.
- Review link text, redirects, and archived documentation alongside the URLs. Some FTP destinations may have no suitable replacement.
- Avoid sending credential-bearing URLs to online checkers or sharing them in reports.
First, check browser behavior
A link beginning with ftp:// requests the FTP protocol, not HTTPS. A browser may handle a link itself, refuse it, or hand it to another application, depending on the environment. An external FTP client opening is not the same as the browser supporting the link directly.
For each browser your audience relies on, record the browser and operating system versions, the link tested, and what happened. Check the current official documentation and release notes for Chrome, Firefox, Edge, and Safari separately; do not infer one browser's behavior from another. Also note whether the test opened an external application or required authentication.
Verification limitation: Current browser documentation was not available for this article, so it cannot establish which versions support or reject FTP links today. Confirm those details before publishing a compatibility statement.
Advertisement
Find FTP links in a documentation sample
The following sample contains one FTP link and a proposed HTTPS location. Both use example domains; they are illustrative, not verified downloads.
Download the [legacy manual](ftp://files.example.com/manuals/guide.pdf).
Proposed replacement: https://downloads.example.com/manuals/guide.pdf
Save it as sample.md, then run this Python script from the same directory:
import re
from pathlib import Path
text = Path("sample.md").read_text(encoding="utf-8")
pattern = re.compile(r"ftp://[^\s<>()\[\]]+", re.IGNORECASE)
for line_number, line in enumerate(text.splitlines(), start=1):
for match in pattern.finditer(line):
print(f"sample.md:{line_number}: {match.group()}")
The script is intended to report the FTP URL and its line number. It has not been executed here. It is a starting point, not a complete Markdown or HTML parser: punctuation, quoted attributes, escaped URLs, generated pages, configuration files, and links assembled at runtime may need separate review. Search the full source repository and, where practical, generated documentation too.
Treat the resulting inventory as potentially sensitive. Legacy FTP URLs can contain usernames or passwords. Redact credentials before sharing the inventory and rotate exposed credentials according to your organization's process.
Assess an HTTPS replacement
For each FTP destination, identify the resource's owner and look for an approved current location. A similar path or filename on an HTTPS server is a lead, not proof of equivalence. The server may host a different file, require different credentials, expose a directory differently, or offer an interactive download rather than a direct file.
Compare the proposed replacement against the old link and the surrounding documentation:
- Identity: Is it the intended document, software release, dataset, or directory? Check the title, version, and file name with the owner or an authoritative inventory.
- Access: Can the intended audience reach it with the required permissions? Test authenticated links with an authorized test account; a maintainer's privileged session is not enough.
- Delivery: Does it return the file, a login page, an error page, or a web interface? A successful status alone does not establish that it returned the right content.
- Integrity and currency: Where a trustworthy checksum or release record exists, compare it. Decide whether the documentation needs the historical file or the latest release; those may be different resources.
- Stability: Prefer an owner-approved, durable location. Record any dependencies on account access, network restrictions, or redirects.
Inspect a candidate with curl
For an approved, non-sensitive HTTPS candidate, set HTTPS_URL to the actual URL in your shell. Do not use the illustrative example domain as though it were a verified download.
HTTPS_URL='https://replace-with-approved-host.example/path/to/file'
curl --head --max-time 15 -- "$HTTPS_URL"
Replace the value before running the command. Inspect the status and headers, including any Location header. A redirect should be checked before following it, especially when credentials or private networks are involved. A 401 or 403 may indicate an access requirement; a 404 may indicate a missing or incorrect path, not necessarily that no replacement exists.
Some servers handle HEAD differently from GET. If the owner permits it, request a small known file or a byte range and inspect the response as well:
curl --range 0-0 --max-time 15 --dump-header - --output /dev/null -- "$HTTPS_URL"
A server can ignore the range and send the whole file, so use this only when that transfer is acceptable. Neither command follows redirects automatically. These commands have not been executed here, and they do not verify the contents against the legacy file. For protected resources, use an approved authentication method and avoid putting secrets in shell history, logs, or URLs.
Advertisement
Update the documentation deliberately
Once a candidate passes review, update the link and its context together. For the sample manual, an appropriate replacement might be a verified HTTPS PDF link with text such as “Download the legacy manual (PDF).” If the new location is an authenticated portal rather than a direct download, say so in the link text or adjacent instructions.
Use this review checklist:
- Record the old destination, proposed replacement, resource owner, and review decision in a restricted inventory if URLs contain sensitive information.
- Update link text, instructions, and any screenshots or commands that describe the old access method.
- Verify the replacement as the intended reader, including any login, network, or permission requirements.
- Check redirects on the new HTTPS service where appropriate. An HTTP redirect does not automatically redirect an
ftp://request; changing FTP access requires the FTP service and client behavior to be considered separately. - Review archived and versioned documentation under the project's preservation policy. Fix links where permitted, or add a clearly labeled notice pointing to a verified resource without silently changing historical meaning.
- For destinations without a verified replacement, document the missing resource and contact its owner. Remove or label the broken link according to editorial policy rather than inventing a substitute.
- Recheck links after deployment, including generated pages and any redirect chains.
Common Mistakes
- Replacing
ftp://withhttps://mechanically. The HTTPS service may not exist, or it may serve a different resource. - Treating a status check as content verification. A login page or unrelated file can be reachable without satisfying the original link's purpose.
- Testing only with maintainer privileges. Readers may lack the account, network access, or permissions used during review.
- Exposing credentials during testing. Do not paste private or credential-bearing URLs into third-party link checkers.
- Overwriting historical context. A current release is not necessarily a suitable replacement for a version-specific archived download.
Best Practices
Keep a reviewable mapping from old links to decisions, and assign an owner for unresolved items. Validate representative links in the browser environments your audience actually uses. For recurring documentation builds, add link discovery and appropriate access checks to your review workflow, while keeping private URLs and secrets out of public logs.
Conclusion
Fixing FTP links is a resource-migration task, not just a protocol substitution. Verify browser behavior for your audience, confirm the identity and accessibility of each replacement, and mark unresolved destinations honestly.
What would your domain sell for?
A free TidyURLs account unlocks the Domain Estimator. It prices a name from 191,011 real domain sales.