Skip to main content

Downloads files via HTTP or FTP

Project description

THIS PACKAGE HAS BEEN DEPRECATED. THE UPDATED VERSION IS file-downloader (https://pypi.org/project/file-downloader/).

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 = fileDownloader.DownloadFile(’http://example.com/file.zip’) downloader.download()

Use full path to download

downloader = fileDownloader.DownloadFile(’http://example.com/file.zip’, “C:UsersusernameDownloadsnewfilename.zip”) downloader.download()

Password protected download

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

Resume

downloader = fileDownloader.DownloadFile(’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

fileDownloader.py-0.4.1.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

fileDownloader.py-0.4.1-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file fileDownloader.py-0.4.1.tar.gz.

File metadata

File hashes

Hashes for fileDownloader.py-0.4.1.tar.gz
Algorithm Hash digest
SHA256 7599e0fe1d57738220033aa47d703041dac9234f2ef4083cf67b0b23339fdad7
MD5 174fbec29e8d212c0a49ab0d5a4a989c
BLAKE2b-256 70c00637db0fe5dafaf359baf5abfe87860a37825ff26121bdbe90c4af982584

See more details on using hashes here.

File details

Details for the file fileDownloader.py-0.4.1-py3-none-any.whl.

File metadata

File hashes

Hashes for fileDownloader.py-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0d6d87d534a22be1180ff9d1ec02de6108b852f0f04bad618a4fa8cf6c8a5104
MD5 4722016feb5128c28d84df7ec11e3cb8
BLAKE2b-256 8e084faf1d95b283478e702a192939a867a71190242bc46a805b85c2629989b6

See more details on using hashes here.

Supported by

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