jacque wrote: ↑Mon May 24, 2021 6:20 pm
I get an error on Android. I'm not surprised because Android doesn't allow curl commands from apps, and I suspect iOS doesn't either. I doubt you're planning to build for mobile though.
I have no doubt you are correct, you certainly are correct in that I have no plans to incorporate or use this knowledge on mobile
@Richard -
I had never looked into libUrl, or tsNet, however I did try to look up how you would use it after you mentioned it here.
tsNet is a non-starter for the reason you mentioned...
...deploying with the LC Community Edition where the proprietary tsNet external is not included.
As far as libUrl goes, it appears most of the wrapper commands are longer than the entire shell line is, and while I understand what curl is doing, I'd be less than honest if I said I understood which of the 20 different lines under it ...
would be the equivalent of
...and even if I did know ( I may experiment later ), I would almost have to assume I would get back the same information to parse, so it doesn't look like a code saver from where I am sitting.
Again though, I am unfamiliar with it, what would be the primary advantage to using it over just shell'ing it?
*Edit - I spent time experimenting with the address and libUrlDownloadToFile, and got no information back, so I think I'll probably stick with 'curl'.
*Edit 2 - I didn't see how any of the other libUrl wrappers would even be workable for what I was doing.