
Product
Announcing Precomputed Reachability Analysis in Socket
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Intro
This module is used for downloading files from the internet via http or ftp.
It supports basic http authentication and ftp accounts, and supports resuming downloads. It does not support https or sftp at this time. The main advantage of this package is it's ease of use, and pure pythoness. It only uses the Python standard library, so no dependencies to deal with, and no C to compile.
Usage
If a non-standard port is needed just include it in the url (http://example.com:7632).
Simple
downloader = downloader.Download('http://example.com/file.zip')
downloader.download()
Use full path to download
downloader = downloader.Download('http://example.com/file.zip', "C:\Users\username\Downloads\newfilename.zip")
downloader.download()
Password protected download
downloader = downloader.Download('http://example.com/file.zip', "C:\Users\username\Downloads\newfilename.zip", ('username','password'))
downloader.download()
Resume
downloader = downloader.Download('http://example.com/file.zip')
downloader.resume()
FAQs
Downloads files via HTTP or FTP
We found that file-downloader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.