Ana Sayfa / Kod ve Scriptler / DropChunk Resumable File Uploader
DropChunk Resumable File Uploader
Devam ettirilebilir parçalar, görsel sıkıştırma ve bir PHP uç noktası olan JavaScript yükleyici.
- Yayın tarihi6 Kasım 2026
- Nerede çalışırPHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3
- Paket içeriği.php, .css, .html, .md, JavaScript .js
- Son güncelleme6 Kasım 2026
- Canlı demoVar

Overview
File uploads that survive a bad connection
Most upload scripts restart from zero when the connection drops or the page refreshes. Your users lose a 90 percent finished upload and start over. DropChunk does not. It uploads files in small chunks and, before sending anything, asks the server which chunks already arrived. Only the missing chunks are sent, so an interrupted upload resumes exactly where it stopped.
DropChunk is written in pure vanilla JavaScript. No jQuery, no framework, no build step. Drop the files into any page, add one line of code, and you have a modern upload area with drag and drop, click to browse, and paste from clipboard.
Why DropChunk
- Truly resumable. Chunk level resume powered by a small server status check. Refresh the page mid upload and the file continues instead of restarting.
- Images get smaller before they travel. Optional in-browser compression and resizing shrinks photos before upload, saving bandwidth and server space.
- Zero dependencies. One JS file and one CSS file. Works in plain HTML pages and alongside React, Vue, Laravel, WordPress templates, or any stack that can print a div.
- A config builder, not guesswork. The included live demo lets you set chunk size, file limits, allowed types and compression, then copy the exact init code for your site.
What is in the download
- src/dropchunk.js and src/dropchunk.css, the complete library
- server/upload.php, a working PHP chunk endpoint with resume support
- demo/index.html, the live demo with the visual config builder and a connection-drop simulation
- Full documentation: install, options, PHP setup, and the resume flow explained
FAQ
Do I need jQuery? No. DropChunk is pure vanilla JavaScript with no dependencies at all.
How big a file can it upload? Because files travel in chunks, very large files are fine. The practical limit is your server's disk and PHP settings, not the browser.
How does resume work? Each file gets an upload id. Before uploading, DropChunk asks the server which chunks it already has and sends only the rest. The included PHP endpoint answers that check and assembles the file when the last chunk lands.
Can I use my own backend instead of PHP? Yes. The chunk protocol is small and documented, and a custom transport hook lets you plug in your own API.
Changelog v1.0.0 - Initial release.
Features
- Drag and drop, click to browse, and paste from clipboard
- Multiple file queue with per-file progress bars
- Chunked uploads with configurable chunk size
- Resume after refresh or connection drop (server status check)
- Cancel and remove files, automatic retry of failed chunks
- Image preview, plus compress and resize before upload (max width, height, quality)
- File type and file size validation with clear error messages
- Ready PHP endpoint included (chunk storage, status check, final assembly)
- Works with your own backend through a documented transport hook
- Callbacks for progress, complete, error, and queue complete
- Custom texts, so the widget speaks your site's language
- Responsive, keyboard friendly, no external assets or fonts
Requirements
- Any static hosting for the front end
- PHP 7.4 or higher on the server if you use the included endpoint (or any backend that follows the documented chunk protocol)
- A modern browser: Chrome, Edge, Firefox, Safari
Benzer ürünler

Yeniden başlatılabilir parçalarla büyük dosyaları yükleyin; yeniden denemeler, sağlama toplamları ve kullanıcı başına kotalar.
Yayın: Kasım 2026
Güvenli bağlantılar, iki dilli arayüz, markalama, son kullanma tarihleri ve ZIP indirmeleri olan, kendi sunucunuzda barındırılan PHP müşteri dosya talebi uygulaması.
Yayın: Ekim 2026
Parola koruması, son kullanma tarihleri, indirme limitleri ve yönetici paneli olan güvenli dosya yükleme betiği. Veritabanı sunucusu gerekmez
Yayın: Mart 2026
Yerleşik antivirüs araçlarıyla entegrasyonları vurgular.
Yayın: Mayıs 2025
Güvenli dosya depolama ve gizli bilgi paylaşımı. Parolaları, API anahtarlarını, dosyaları ve daha fazlasını paylaşın. Şifrelenmiş, sürükle bırak yüklemeleri, erişim a
Yayın: Ocak 2025
Filee, 21. yüzyıl için güçlü bir dosya yükleyicidir
Yayın: Eylül 2023