How to upload a very large file
Getting one very large file, or a great many small ones, onto your hosting account without the transfer failing partway through.
A single very large file, or a great many small ones bundled together, needs a slightly different approach from uploading a handful of ordinary web pages. The methods below make a large upload more reliable and considerably faster, whether that is a video, a full site export, or a folder containing thousands of images.
Compress it first
Before uploading anything large, put it into a single zip archive. This helps in two ways: it is almost always smaller than the uncompressed original, and — more importantly for reliability — it turns thousands of small files into one file. Transferring one large file is far more resilient than transferring ten thousand small ones, because a connection hiccup partway through a folder of individual files can leave you with an unpredictable partial copy, while a single archive either finishes or it does not.
On Windows, right-click a folder and choose "Send to" then "Compressed (zipped) folder". On macOS, right-click and choose "Compress". Both produce a standard zip file that can be uploaded and later extracted on the server without any extra tools.
Use FTP or SFTP, not a browser upload form
Some control panels offer a simple upload button in the browser-based file manager, but these often enforce a lower size limit than the account actually supports, because the upload has to pass through the browser's own request limits along the way. An FTP or SFTP client connects directly and does not run into the same ceiling, making it the more reliable choice once a file gets into the hundreds of megabytes.
Check your available disk space first
Before starting a transfer that will take any real length of time, check how much free space your account has left — most control panels show this on the main dashboard or under account usage. A large upload that fails partway through because the account ran out of space wastes the time already spent transferring it, and can also leave a corrupted, half-written file behind that needs deleting before trying again.
Give the transfer room to finish
- Do not let your computer sleep. Change your power settings temporarily if the transfer will take longer than your screen normally stays on.
- Use a stable connection. A wired connection is more reliable than Wi-Fi for a transfer that will run for several minutes or longer, and avoids the transfer restarting if the Wi-Fi briefly drops.
- Watch the transfer queue. Most FTP clients show progress and will retry automatically on a minor interruption, but a transfer that stalls completely and does not resume after a few minutes is worth cancelling and restarting rather than leaving indefinitely.
Extract the archive on the server, not on your computer
Once the zip file has finished uploading, resist the urge to download it again to check it — instead, extract it directly on the server using the file manager in your control panel. Most file managers offer an "Extract" option when you right-click a zip file, which unpacks it in place without needing to transfer the individual files a second time. See unzipping a file on the server for the exact steps.
Check that the expected files and folders appear after extracting, and that a spot check of a few of them opens correctly, before deleting the original zip archive. Keeping it a little longer costs only disk space, and it gives you something to fall back on if the extraction was incomplete.
Splitting a transfer into smaller pieces
If a single archive is still too large to transfer reliably even over FTP, splitting the content into several smaller zip files — by folder, or by date, or by whatever grouping makes sense for what you are moving — can make each individual transfer short enough to complete without interruption, at the cost of a few extra extraction steps once everything has arrived. This is a reasonable fallback when a network is simply too unreliable for one long transfer to complete in a single attempt.
If the upload keeps failing
| Symptom | Likely cause |
|---|---|
| Fails at almost exactly the same point every time | A size limit on the connection method being used — try FTP or SFTP instead of a browser form. |
| Fails at random, unpredictable points | An unstable network connection — try a wired connection, or a different network entirely. |
| Fails immediately with an error before transferring anything | Insufficient free disk space on the account, or the account has hit a file count limit. |
| Uploads but the file will not open or extract | The transfer completed in the wrong mode — some clients need to be told explicitly whether a file is text or binary, though most detect this automatically. |
If a very large upload continues to fail after trying FTP or SFTP on a stable connection with enough free space confirmed, contact our support team with the approximate file size and the exact error shown — there may be an account-specific limit worth checking from our side.
Related reading
A plain walkthrough of connecting to your hosting account with an FTP client, from finding your login details to seeing your files on the server.
How to use FileZillaInstalling FileZilla, connecting it to your hosting account, and using its two-panel layout to move files on and off the server.
How to unzip a file on the serverUpload the archive once, then use the Extract option in your control panel file manager instead of downloading and re-uploading every file inside it.
How to increase the PHP upload file sizeTwo directives control upload size, not one — miss the second and a bigger upload_max_filesize changes nothing at all.