How to upload and extract a zip file
Upload a whole website as one zip file and extract it on the server — much faster than uploading thousands of files individually.
On this page
Uploading one archive and extracting it on the server avoids the slow, error-prone upload of thousands of small files.
1. Create the zip on your computer
Select the contents of your site folder — index.html, css, images and so on — not the folder itself, and compress them.
- Windows: select the files, right-click, Compress to ZIP file
- Mac: select the files, right-click, Compress
Zipping the contents means extraction puts files straight into public_html rather than a subfolder.
2. Upload it
In System Info & Files › File Manager, open public_html and upload the zip. How to upload files with the DirectAdmin File Manager
3. Extract
- Select the zip file.
- Choose Extract.
- Confirm the destination is
public_html(or the folder you want). - Extract.
4. Check and tidy
- Confirm
index.htmlorindex.phpis directly insidepublic_html. - If everything landed inside an extra folder, select its contents, move them up one level and delete the empty folder.
- Delete the zip — it uses disk space and could be downloaded by anyone who guesses its name.
Existing files
Extraction may overwrite files with the same names. Back up anything you might need first.
Prefer to follow along?
- Deploy a Laravel application to Traxio
Advanced · 60 min - Deploy a React, Vue or static-site build
Intermediate · 20 min - Move a website and email to Traxio with no downtime
Advanced · 120 min
If it doesn’t work
These guides cover the most common problems, starting with what you can see. Or browse every fix for a common problem.
- FTP connection failed: how to fix itFix FTP login failures, timeouts and ‘failed to retrieve directory listing’ with the right host, username format, encryption and passive mode.
- SFTP connection failed: how to fix itFix SFTP errors — authentication failure, connection refused, timeouts and host key warnings — including which login SFTP uses.
- “Permission denied” and files that won’t save or uploadFix uploads and saves failing with permission errors in WordPress, apps and FTP, without resorting to unsafe 777 permissions.
- 403 Forbidden: how to fix itWhy the server refuses access with a 403 — missing index file, permissions, .htaccess rules or security blocks — and how to fix each one.
Common questions
How do I upload and extract a zip file?
Upload the zip through the File Manager, then use its extract option to unpack it in place. Uploading one archive and extracting it is much quicker than uploading the same files one by one.
Check where the files land afterwards. Archives often contain a wrapping folder, which leaves your site at public_html/mysite/ instead of public_html/ — move the contents up a level if so.
Spotted something out of date or unclear? Tell us and we’ll fix it.