FileLoader (free/paid)

Complete Blocks and Features Description for FileLoader

:puzzle_piece: Core Blocks (Functions & Events)

  • Call DownloadFileAdvanced (Function): The primary execution block. Accepts parameters: fileUrl, defaultFileName, format (e.g., "mp4", "pdf"), userAgent, authHeader, and autoOpen. Initiates server inspection, pops up a modern preview dialog with media thumbnails, folder selector, and background download.
  • GotFileInfo (Event): Triggered once server metadata is fetched. Returns fileSize (in bytes) and originalFormat.
  • DownloadProgress (Event): Reports real-time download progress percentages (0–100%).
  • DownloadCompleted (Event): Fired upon successful completion, providing the absolute file path (savedFilePath).
  • ErrorOccurred (Event): Triggered during network failures, server errors, or checksum mismatches, returning errorMessage.

:gear: Key Architectural Features

  • Pause & Resume (Range Support): Utilizes the HTTP Range header. If connection drops or the user pauses, downloads resume seamlessly from the exact byte stopped instead of restarting from scratch.
  • Notification Cancellation: Integrates PendingIntent within Notification.Builder to let users cancel active tasks directly from the Android notification shade without opening the app UI.
  • Custom Headers & User-Agent: Passes custom security headers (Authorization tokens) and User-Agent strings to securely access protected servers, private APIs, or restricted media.
  • Segmented Range Download: Optimizes throughput for heavy files (videos, archives) via byte-range chunking on stable networks.
  • Auto-Opening Files: Combines MediaScannerConnection with a secure FileProvider system Intent to instantly open downloaded files in compatible native viewers.
  • Checksum Verification: Computes local file hashes and matches them against server Content-MD5 headers to guarantee corruption-free file delivery.



com.fileloader.aix (36.3 KB)

1 Like

paid version

:link: Multi-Link Batch Download: Paste multiple links at once and process everything in one go.

Add link to the extension