fileDownloader.pyDownloads files via HTTP or FTP | |
Download |
fileDownloader.py Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Publisher Name:
- Joshua Banton
- Publisher web site:
- http://bantonj.wordpress.com/
fileDownloader.py Tags
fileDownloader.py Description
Downloads files via HTTP or FTP fileDownloader.py is a Python module 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() Requirements: · Python
fileDownloader.py Related Software