skip to navigation
skip to content

fileDownloader.py 0.4.0

Downloads files via HTTP or FTP

Downloads ↓

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()
 
File Type Py Version Uploaded on Size # downloads
fileDownloader.py-0.4.0-py2.7.egg (md5) Python Egg any 2011-05-17 7KB 459
fileDownloader.py-0.4.0.win32.exe (md5) MS Windows installer any 2011-05-17 197KB 200
fileDownloader.py-0.4.0.zip (md5) Source 2011-05-17 6KB 340