> On Tue, Apr 7, 2020 at 1:58 PM ToddAndMargo via perl6-users > <perl6-us...@perl.org <mailto: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 >
On 2020-04-07 05:43, Veesh Goldman wrote:
Are you familiar with dynamic dns providers like duckdns.org <http://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.
Hi Veesh, I have looked at services like that. I like the Raku route better as I can do everything very seamlessly: automatic WAN address check and update, top loading and pruning log file of WAN address changes, automatic creating of mstsc and WFreeRDP run stings, ignore and warn if the Internet is down, etc.. All the user has to do it click on an icon. Other than which icon to click on, no other user interaction. It would help if the developers would implement: RFE: shell / no shell switch https://github.com/rakudo/rakudo/issues/3582 -T And you guys wonder what I did with all the help you have been giving me!