Is there a way to get ip addess from www.whatismyip.com and then
upload it to ftp ?


Thanks

RE: Is there a way to get ip address and upload it ? by Sebastian

Sebastian
Wed Dec 28 21:31:01 CST 2005

It's only an idea but here is something you could try:
- create an instance of ie and surf to the website and get the text
- parse the text and extract the ip
- write it to a file
- upload it using ftp.exe or customize "VBScript FTP Upload Tool" from
Http://www.billsway.com/vbspage/

But would not it be easier to get a free account on dyndns.com and use their
client to update the ip address automatically? (The client supports remote ip
detection via http://checkip.dyndns.org in case somebody is using a router or
somthing else)

Re: Is there a way to get ip address and upload it ? by TDM

TDM
Thu Dec 29 09:50:31 CST 2005


"Ed" <Ed@my.ncett> wrote in message
news:phb6r19pah2bt5d1bfcgm6oie8qrnu60r8@4ax.com...
> Is there a way to get ip addess from www.whatismyip.com and then
> upload it to ftp ?
>
>
> Thanks
>
>

I wrote a script a while back that uses whatismyip.com and then e-mails
the IP. Why do you need to use FTP ?

I also agree with Sebastian, a dynamic DNS account is the way to go.

TDM



Re: Is there a way to get ip address and upload it ? by \

\
Thu Dec 29 12:30:18 CST 2005

> Is there a way to get ip addess from www.whatismyip.com and then
> upload it to ftp ?

I don't know about the uploading part, but there is a cleaner way to get your
IP. I put this on my server for a friend with a similar need.
http://lists.thedatalist.com/bareip.php

Here is a sample script to separate the IP from the date/time:

'-------- getIP.vbs ---------
Set IE = CreateObject("InternetExplorer.Application")
IE.Navigate "http://lists.thedatalist.com/bareip.php"
do while IE.busy
wscript.sleep 100
loop
data=IE.document.body.innerText
IP=split(data)(3)
'--------------------------------
--
Crash