Skip to main content

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.

Source Distribution

file-downloader-0.5.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

file_downloader-0.5.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file file-downloader-0.5.1.tar.gz.

File metadata

File hashes

Hashes for file-downloader-0.5.1.tar.gz
Algorithm Hash digest
SHA256 5c1144367f77d730ce540264fdc640a7d5a3832b7261bd61f3daaeeda4318d49
MD5 86fd4b500237c0418a0f254f791243ad
BLAKE2b-256 4338ed6a57d00a60aa174399f66cc46732ca44c6f8fb8c363cb8a2e54e0ab2a1

See more details on using hashes here.

File details

Details for the file file_downloader-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for file_downloader-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4978ac0286db466aa766d7183d708523caad5be910302522af9d4fda7701cc1e
MD5 fd12aa6210f92004f20e959c99283961
BLAKE2b-256 82cb0cfc6fbb761f529edac6284335579120045394d1e1c8c74daa8b8445c1ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page