Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Downloads files via HTTP or FTP

Project description

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:UsersusernameDownloadsnewfilename.zip”) downloader.download()

Password protected download

downloader = downloader.Download(‘http://example.com/file.zip’, “C:UsersusernameDownloadsnewfilename.zip”, (‘username’,’password’)) downloader.download()

Resume

downloader = downloader.Download(‘http://example.com/file.zip’) downloader.resume()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for file-downloader, version 0.5.1
Filename, size File type Python version Upload date Hashes
Filename, size file_downloader-0.5.1-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size file-downloader-0.5.1.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page