I have written a bash script that writes the current dynamic IP address of my computer in a file that I have to sync with myself The dropbox account file that I'm syncing using Ubuntu Dropbox client is an HTML file that shows some static text on parsing and a link to the IP-address of my computer.
The dropbox allows to create a static link for that file and distribute it to anyone but the problem is that when I open that link from anywhere, this is the first time this file is downloaded Shows the link to, when reloading the page shows that it is the text of the file with all those HTML tags ...
I parse that dropbox file as HTML Want to open file Sector will see a webpage me with a link to your current IP address.
Is it possible to do this with Dropbox? then how ? Is there any other service that allows it? If so, they provide the client for Ubuntu or need to write some code for it ..?
What is the real problem of infringing - You can see a dynamic-DNS service.
If you have your domain, you can make a host CNAME within your domain, say 'home .example.com' to the obscure hostname of the DDNS service ' Yourusername.ddns.example.com '. Then install your Bash script to keep DDNS service up to date.
There is no need to fuse with HTML files, only reference home.example.com in your link, and they (almost) always point to the correct IP.
Comments
Post a Comment