Download a File from the Internet
BlitzMax Forums/BlitzMax Programming/Download a File from the Internet
| ||
I'm trying to download a text file that I have on my website, but I can't remember how to request the file from the site and then download the bytes from the web. Could someone please post an example for me or something like that? Thank you in advance. |
| ||
lol.. IDK about your problem but ur sig might be a bit over the top... so basically you cant remember the url of said text file? I dont think there is anything you can do. |
| ||
myImage:tImage = LoadImage("http::www.whatever.com/image.jpg") should do it, I think. You should make your sig image smaller, because that's huge. |
| ||
Or perhaps : LoadText("http::www.whatever.com/text.txt") |
| ||
Sorry, for some reason it keeps resizing to that size, I'll make sure it stays small. The problem isn't that I don't know the URL, I don't know how to get the file from the URL to my computer. I'll try the "LoadText" method and be back with the results. |
| ||
This is Blitz3D code, but should be pretty easy to modify for Max: EDIT: See below! |
| ||
Interesting link, Mr Boyd :-) |
| ||
Doh! http://www.blitzbasic.com/codearcs/codearcs.php?code=24 |