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.

Files for fileDownloader.py, version 0.4.1
Filename, size File type Python version Upload date Hashes
Filename, size fileDownloader.py-0.4.1-py3-none-any.whl (10.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size fileDownloader.py-0.4.1.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page