Fix an unknown-size remote download
Choose a source that reports a positive Content-Length or total Content-Range, or download locally when Dosya cannot reserve an unknown byte count.
Last reviewed
Dosya must know the complete byte count before it can select a transfer strategy and check quota. Its probe requests bytes=0-0; a 206 response must include a numeric total in Content-Range, while a non-range response needs a numeric Content-Length.

Before you start
The startup toast says The server didn’t report a file size, so this link can’t be fetched. Because the probe fails before insertion, there is no failed job row and the attempt does not consume a daily job slot.
Zero, negative, missing, malformed, or JavaScript-unsafe totals are refused. Transfer-Encoding: chunked by itself does not supply the reservation size Dosya requires.
Steps
- Test the direct HTTPS link outside your signed-in browser session and identify the final response after redirects.
- Inspect the response to the range probe: accept
206only whenContent-Rangeends with a positive total such as/1048576. - If the server answers
200, require a positive decimalContent-Length; an estimated size in page text does not count. - Generate a different provider export or download endpoint that reports one of those exact headers and still returns file bytes rather than HTML.
- Paste the replacement URL into Remote download, select the target folder, and choose Fetch file once.
- Confirm Download started and verify the queued row shows a real total instead of
-before relying on the transfer.

Expected result
The probe returns a positive known size, Dosya checks policy and quota, and a queued job is created. Range mode can accept up to 1 TB when a strong ETag is also present; the fallback stream path is limited to 10 GiB.
When the origin cannot expose a stable length, download the file locally and use a normal Dosya upload. The released remote-download API has no unknown-length streaming mode.
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.