IP2Location™ Download Client
Automate Database Download
This is a command line script to download IP2Location™ database from the server. Subscribers can use this script to automate the download process without visiting the download area through browser.
We update IP2Location™ databases on the first day of the calendar month. Please download the database once a month during a random day from the first week of calendar month to avoid network congestion.
We update IP2Proxy™ databases daily. Please download database after 00:15 GMT for the latest daily update.
|package||Database package. (DB1...DB26, DB1BIN...DB26BIN, DB1IPV6...DB26IPV6, DB1BINIPV6...DB26BINIPV6, PX1...PX11 or PX1BIN...PX11BIN)
You may login to your account area and get the package code (or download code) at the Download page.
|token||Download token. You can get your token at your IP2Location Account Area at the Download page.|
|output||Output file name. (Optional)|
|quiet||Show less messages. (Optional)|
|help||Display help file.|
./download.pl -package DB1 -token DOWNLOAD_TOKEN -output LOCAL_ZIP_FILE_NAME
- Save the download.pl to your installation directory.
- Make the script executable and run the script under the installation directory.
- Run the command below.
chmod 755 download.pl
Automate Download using Script
You can also automate the entire download, unzipping and loading of IP2Location data into database using bash or shell script.Windows Guide Linux Guide