Skip to content

10AM–5PM by appt.
24h urgent appts

📞 0279-088880

All prices include GST

Cart
0 items

Computer Repair Guides

Resume an SFTP Download Only When Its Partial File Still Matches

by AEPC / AKL East PC 28 Sep 2026

An interrupted download is not automatically safe to resume. SFTP resumption assumes the existing local prefix belongs to the same remote file. If someone replaced the server export while your connection was down, appending the new remainder can produce a mixed, unusable result.

Establish what the partial file represents

Record the server, remote path, export version and local destination from the interrupted transfer. Ask the file owner whether the source remained unchanged. A filename such as latest-export.zip is weak evidence because its contents may be replaced without renaming it.

Prefer a dated, immutable export for a long transfer. If you cannot establish that the existing partial file matches the current source, retain it separately if useful and start a new download to a new local filename. Do not sacrifice a known complete copy to save a little transfer time.

Inside an authorised SFTP session, pwd shows the remote working directory and lpwd shows the local one. Use those checks before selecting paths. The lcd command changes the local destination directory; it does not move you around the server.

Resume a confirmed pair

OpenSSH documents reget remote-path local-path as a resumed download, equivalent to get with its -a option. Use the exact confirmed paths rather than a wildcard that might match several exports. Quote filenames containing spaces as required by the SFTP interface.

The manual explicitly warns that a different partial prefix can corrupt the result. A successful progress indicator does not verify that precondition, and matching file sizes alone cannot establish matching contents.

After transfer, compare the completed file with a checksum supplied for the stable source through the agreed channel. Open or validate the delivered artifact using its normal application, such as checking that the expected archive contents are present.

Keep the transfer note until the recipient accepts the file. If validation fails, preserve the details and obtain a fresh stable source instead of resuming the same uncertain pair repeatedly. Completion means the intended export is intact locally, not merely that the connection reached the end of a file.

Sources: Ubuntu documentation.

Prev Post
Next Post

Thanks for subscribing!

This email has been registered!

Shop the look

Choose Options

Edit Option
Terms & Conditions
Unless otherwise stated, brand new accessories are guaranteed for one year. Second-hand parts are guaranteed for three months. Repair (hardware) is guaranteed for one month. The software is not covered by the warranty, you should contact the software development organization for technical support and after-sales service. The warranty is limited to the same position fault; the customer should provide the warranty with the complete Warranty sticker and the receipt of payment. Otherwise, it will not be guaranteed. (If the warranty label is damaged for any reason, is not covered by warranty.) Returns and refunds Please read our Return & Refund Policy for the current return timeframe, conditions, fees, return methods and refund processing time.
this is just a warning
Login
Shopping Cart
0 items