If you want simpler code, you can use a HTTPObject instead.
new HTTPObject(dropboxxy);
dropboxxy.get("dl.dropboxusercontent.com:80","/u/63039269/test.txt");
function dropboxxy::onLine(%this,%line) //called on every ::get execution
{
//parse %line
}
if you prefer reading it like this-
new HTTPObject(dropboxxy);
dropboxxy.get("dl.dropboxusercontent.com:80","/u/63039269/test.txt");
function dropboxxy::onLine(%this,%line) //called on every ::get execution
{
//parse %line
}
If you'd like, use HTTPObjects for simple web requests. Do not attempt to create sessions with them or anything. For quick and dirty uses like these, they are fine.