Are you familiar with dynamic dns providers like duckdns.org (there are others, too). That coupled with a script that updates your ip with the provider, like ddclient (written in perl!), should be a more straightforward way of accomplishing what you want. Also, thank you for clarifying what you are trying to do. Because the answer changes a lot once you want to parse the page that you download.
On Tue, Apr 7, 2020 at 1:58 PM ToddAndMargo via perl6-users < perl6-us...@perl.org> wrote: > On 2020-04-07 02:55, Veesh Goldman wrote: > > Your question is way to vague. What do you actually want to do? If you > > just wanna download a page, use curl or some other tool, no reason to do > > it from raku if there's nothing more than that. > > If you want more than that, then please be more specific. > > Hi Veesh, > > Sorry for the confusion. I only wanted a small > piece of a puzzle I am putting together. > > This big picture is this. > > I have a customer that runs RDP (Remote Desktop Protocol) > server on Window 7. He logs into this server with > a Window 10 Pro laptop from all around the country using > mstsc.exe and WFreeRDP. > > His new Internet provider at this house will use > dynamic (floating) WAN (Wide Area Network) IP's. > > And he uses DropBox. So I am writing a raku program > on his RDP server to upload his WAN IP to Dropbox > once an hour and another program on his RDP client > to read the drop box file and wrap mstsc and WFree > RDP with his server's WAN address. > > That is also why I asked the DropBox question. > (DropBox works marvelously on Fedora 31). But > Since Drop Box and Cobian Backup on Windows > don't mesh, I am being extra careful. (I think > the issue is Cobain's use of Volume Shadow > Copy Service.) > > -T >