Tell a direct file URL from a share page
Test whether an HTTPS URL returns file bytes with a reliable size instead of an HTML share page, sign-in screen, or blocked redirect chain safely.
Last reviewed
The Remote download form expects a URL that returns file bytes directly. Dosya probes it with GET and Range: bytes=0-0; HTML and XHTML responses are treated as share pages even when a browser visually offers a download button.

Before you start
Use an authorized public HTTPS URL on port 443. The source must work without your browser session because Dosya does not forward cookies, interactive login state, or custom request headers.
A usable response reports a positive total size through Content-Range on a 206 response or a numeric Content-Length otherwise. Dosya follows at most five redirects and applies the public-address check at every hop.
Steps
- Open the candidate link in a private browser window where you are signed out of the provider.
- Reject any page that asks for login, renders sharing controls, or returns HTML instead of beginning the actual file response.
- Inspect the final HTTPS address after redirects and confirm it uses no local hostname, private IP, or non-443 port.
- Confirm the response identifies a positive byte length; a chunked stream with no total cannot be reserved as a remote download.
- Paste the final direct URL into Integrations > Remote download, choose the destination, and select Fetch file.
- Require Download started, then compare the queued filename and total bytes with the provider’s file before leaving the page.

Expected result
The probe accepts the response, derives the filename from Content-Disposition or the final URL, and creates a job with a known byte total. The stored name is sanitized and limited to 200 characters.
Not a direct file link means the source returned HTML. Source returned HTTP N means the final response used an HTTP error status. Generate a provider download URL rather than reusing its sharing page.
Related guides
Was this helpful?
Loading helpfulness results…
Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.
Questions and replies
Ask about the steps in this guide. Questions are reviewed before publication.
Keep account details, credentials and private files out of public questions. Use private support for those.
Loading questions…
Sign in to your Dosya account to ask a question.