A download or upload stops when you close the MacBook, because closing the lid puts the Mac to sleep and the transfer pauses with it. To let it finish, leave the lid open or slightly open, or use a tool that blocks lid-close sleep, such as Amphetamine or sudo pmset -a disablesleep 1.
This applies to a MacBook without an external display. No normal setting changes it.
What are the ways to keep a transfer running?
-
Lid open. Cover idle sleep with
caffeinate -ior the power adapter setting, and let the display go dark. - Lid 12 mm open. A lid spacer such as WakeClip, a clip for the MacBook lid, stops the lid before it closes.
- Amphetamine and similar apps. They keep the Mac awake, and some also prevent sleep with the lid closed.
-
sudo pmset -a disablesleep 1. Turns sleep off system-wide. Needs admin rights and must be reset withdisablesleep 0. - External display or HDMI dummy plug. The MacBook is closed and on power, with keyboard and mouse.
- Another computer or the cloud. A server or a desktop computer does the transfer instead.
Is the transfer still on your Mac?
Check this first, because it decides whether you need anything at all.
While a file is uploading from your MacBook, the MacBook is part of the transfer. Once the service has confirmed that it received the whole file and is processing it on its own systems, your Mac is no longer needed. Then you can close the lid normally.
The same goes for transfers between two cloud services that you only started from your browser. Look at the status the service shows. Do not guess.
How do you stop idle sleep during a long transfer?
Idle sleep is the sleep after a period without input. It can end a transfer even with the lid open. Many programs keep the Mac awake by themselves while they work, but you cannot count on every browser tab or sync app to do so.
Two simple ways cover it:
- Open the Terminal and run
caffeinate -i. The Mac stays awake until you end the command with Control-C or close the window. - On the power adapter, switch on the option under System Settings, Battery, Options that prevents automatic sleep while the display is off.
Neither helps once the lid is shut. caffeinate prevents idle sleep, not lid-close sleep.
What if you want to lower the lid during the transfer?
WakeClip keeps the lid 12 mm open. Your MacBook does not go to sleep from closing the lid, and whatever is running keeps running.
That fits a few everyday cases:
- You started a large upload and want to take the MacBook to another room. Lower the lid onto the clip and carry it in your hand, holding the base.
- You close the lid out of habit when you get up. The lid stops at the clip and the transfer is not interrupted.
- You use a company Mac and may not install an app or run
sudo. - You do not want the MacBook standing open on the table for an hour.
The gap also leaves air above the keyboard, unlike a fully closed lid, so heat can escape. The display does not go off from closing the lid. Whether it switches off by itself after a while is decided by the display setting of your Mac.
When is another way better?
- The MacBook goes into a bag. WakeClip is made for carrying in your hand, not for a bag. A working MacBook does not belong in a bag or sleeve. Remove the clip, close the MacBook normally and continue the transfer later.
-
The lid has to be fully shut on the desk. Use Amphetamine,
pmset disablesleepor an external display. Withpmset, remember to reset it. Otherwise the Mac stays awake in your bag too. - The transfer takes all night or longer. A server or a desktop computer is the better place for it.
What about the network?
An awake Mac is only half of a transfer. If you carry the MacBook out of Wi-Fi range, it loses the connection. That can interrupt a download or upload whether the Mac is awake or not.
Stay on the same network while you move. If you have to switch networks, expect the transfer to pause and check whether your app can resume it.
What if a download or upload has already stopped?
In Safari, open the downloads list and click the resume button next to the paused download. Apple describes this in the Safari guide to downloads. Other browsers and apps have their own download managers. Whether a transfer can resume or starts again depends on the app and the service.
For an upload, read the status on the page or in the app. Check the connection, the sign-in and any message about storage or file size. If you start a second attempt, look for duplicates at the destination afterwards.
How do you confirm that it finished?
- The app or service reports that the transfer is complete.
- The file is at the destination under the right name.
- The file opens.
- For important files, compare the file size, and a checksum if the provider supplies one.
Short answer
A transfer needs an awake Mac and a working connection, and a closed lid means sleep. If your task stops with the lid open as well, go through MacBook sleeps despite keep-awake settings. All ways side by side are in Keep a MacBook awake with the lid closed: 7 ways compared.
If lowering the lid onto a small gap suits you, choose the WakeClip version for your MacBook model.
