|
|
| |
| download.pl is a Perl script to download IP2Location™
database from the server. Subscribers can use this script to automate the
download process without visiting the download area manually. Please download
the database once a month at the first week of calendar month.
./download.pl -package <package> -login
<login> -password <password> -output <output> -help
|
| |
| Parameter |
Description |
| package |
Database package (DB1, DB2...DB14 or DB1BIN, DB2BIN...DB14BIN) |
| login |
Subscriber login name |
| password |
Subscriber password |
| output |
Output file name (Optional) |
| help |
Display help file |
|
|
| |
Sample Command Line to Download DB1 Database:
|
| ./download.pl -package DB1 -login mylogin -password
mypassword
|
| |
| Linux Setup |
| |
First save the download.pl to your installation
directory. Make the script executable and run the script using your
installation directory:
|
| chmod 755 download.pl |
| |
| Windows Setup |
| |
| All Windows user need to install the ActivePerl in
their system before executing this script. Please visit
ActiveState website for free installation of ActivePerl.
First save the download.pl to your installation directory. Open a command line
prompt and change directory to your installation directory.
|
| |
| perl download.pl ... |
| |
| We only update IP2Location databases at the first day
of calendar month. Please download the database once a month during a random
day from the first week of calendar month to avoid network congestion.
|
| |