You could try my mxj utility to download a url:
this will output the url content and you can pipe directly to js..
Brilliant! Thank you! I’ll give it a try.
Nat, your utility worked for a short string, but when I tried to get a long string (roughly 3000 characters), max just crashes/closes without any warnings or anything. Any idea what that could be about? The string that the website is returning looks similar to the attached file.
seems to work here with the attachment, can you share the url of the data ?
Ok, so tommymetz.com/test.php is the long one (which crashes max for me) and tommymetz.com/test_short.php is the short one which works. Do they both work for you?
I wonder if it’s some sort of java issue on my end?
Thanks for your help with this btw!
That’s strange, both work for mw here…
what’s your os, max version ?
windows 7, max 6.0.7. It’s weird. It just closes max the second I try and parse the url. I’ve had that problem when working with mxj objects in the past. No idea what’s up. I may just have to do multiple jit.uldl calls to get the string in smaller chunks.
Thanks a ton for your help tho. Maybe I’ll try your object on max 6.1 and windows 8. Is there a place I can view some java logs?