[registrars] Does anyone have CURL script for downloading the .info transfer reports
Bhavin Turakhia
bhavin.t at directi.com
Fri Aug 8 11:06:01 UTC 2003
Having recvd no response for 5 minutes I wrote the script off myself
anyways ... ;) ..... Here it is for anyone who wants it
#!/bin/sh
filename=`date +%a`
curl -D cookies https://admin.afilias.net/
curl -b cookies -d "username=<YOURUSERNAME>&password=<YOURPASSWORD>"
https://admin.afilias.net/login.do
curl -b cookies
https://admin.afilias.net/downloadReports.do?file_name=~transfers[daily]
~gaining_transfers[$filename].dat > gain
curl -b cookies
https://admin.afilias.net/downloadReports.do?file_name=~transfers[daily]
~losing_transfers[$filename].dat > loss
Put abv script in a dialy cron and you have the reports downloaded daily
in a file called "gain" and another called "loss"
Curl is by default installed on most linux systems. For those who do not
have it - http://curl.haxx.se/
bhavin
> -----Original Message-----
> From: Tim Ruiz [mailto:tim at godaddy.com]
> Sent: Friday, August 08, 2003 4:25 PM
> To: 'Bhavin Turakhia'; 'Registrar Constituency'
> Subject: RE: [registrars] Does anyone have CURL script for
> downloading the .info transfer reports
>
>
> Bhavin,
>
> You might consider writing a script that does an INFO on your
> pending transfers each night, and then processes the ones
> that have completed.
>
> Tim
>
> -----Original Message-----
> From: owner-registrars at gnso.icann.org
> [mailto:owner-registrars at gnso.icann.org] On > Behalf Of Bhavin
Turakhia
> Sent: Friday, August 08, 2003 4:35 AM
> To: 'Registrar Constituency'
> Subject: [registrars] Does anyone have CURL script for
> downloading the .info transfer reports
>
>
> Hi all,
>
> .info and .org apparently still have the system of
> downloading reports from their http interface for any Domain
> Trnasfers. Unlike .biz where there is an EPP poll queue, in
> .info we have to do report parsing just like .com/.net
>
> In order to automate this process I have been told some
> registrars have written a CURL script to download reports
> from Afilias Registrar management interface. If anyone has
> this ready and can pass it on to us I would be grateful
> (instead of having to hack and write one myself)
>
> We used to rely on their email notifications which for some
> reason have suddenly stoped coming
>
> Best Regards
> Bhavin Turakhia
> Founder, CEO and Chairman
> Directi
> --------------------------------------
> http://www.directi.com
> Direct Line: +91 (22) 5679 7600
> Direct Fax: +91 (22) 5679 7510
> Board Line (USA): +1 (415) 240 4172
> Board Line (India): +91 (22) 5679 7500
> --------------------------------------
>
>
>
>
More information about the registrars
mailing list