Well, the testhttpget.bas example does work with https so that's a bit of a puzzle.
UPDATE: It does work on Windows and Mac but not Linux so I need to figure that out.
Maybe we need to wait and see if another linux user has the same issue, I tried the windows version (in WINE) and get the same error
so is it my machine/system?
Same issue lb5x64(linux)
LB5 works in Wine? I guess I never thought of trying it because I usually use Windows XP compatibility mode. Plus why would I want to use the Windows version anyway unless I had a program I wanted to publish cross platform. As long as it works in Linux I'm a happy camper. LOL
Perhaps the problem has to do with something in Linux that doesn't work in Wine's compatibility layer. I've given up on https: in LB5 for now. I can download https: pages easily with PHP, so I'm covered until it's fixed in LB5. Of course I'd actually rather do it in LB 5 because I often end up processing data from the pages I download using LB anyway. I'm not all that proficient in PHP. I like the ease of BASIC for parsing and processing ASCII files. I'm anxious to start using LB5 for this.
It seems to me I even had trouble downloading pages from https: secured sites using LB4.5.1 in a virtual XP machine.
I wonder if Linux has it's own, perhaps very different, protocols for reading http pages?
I tried the following and it didn't do anything:
run "/usr/bin/wget www.everydaylinuxuser.com"
It works on the commmand line, but not using the RUN command. But I also tried the following and it didn't work either:
run "ls >ls.txt"
It's a shame because there are so many things that can be done using simple commands like this. Probably a million or more things just by being able to shell to the command line. What's funny is that I just tried these commands using Just BASIC v1.01 in Wine and the wget command works great, but the ls command doesn't. I'm assuming it will only work with a program and not with a command like "ls" or "cd". This could easily be worked around though by creating a simple bash.sh "program" (similar to a DOS batch file only more powerful) that would take your file name (ls.txt) and pass it to the "ls" command and pipe it to the file.
I'm assuming that the RUN command is probably not completed yet in LB5 alpha 351. When it is, Linux users will have immense power to do many things simply by shelling to the command line. In fact you already have much of that power if you use LB through the Wine compatibility layer. I once made a program that called up the VLC media player and played a list of videos for me. The possibilities really are endless. Of course you have some of these same capabilities with Windows, but Linux comes stock with so many cool commands it's amazing. In fact I'm going to start playing around with some Linux file converters using LB4.5.1 right now.
Just curious? I'm a real novice with it comes to LINUX. I currently use Ubuntu and windows. Is bash better that HTML5?
I run a server, so I need stuff to work as client/server. The client can be on any OS with a browser. For years I've done movies, conversion like pdf's, voice in and out, directory and others using HTML5.
Should I be looking at bash? I don't see how it works on the client side if I use linux and the client may be using Android, Windows, Fuchsia, IOS, or something else.