Blockland Forums > Modification Help
HTTPObject: get line count
(1/1)
Greek2me:
How can I get the number of lines in a file using an httpObject?

I get the file by doing: httpObject.get("url.com:80","/file.zip");
Chrono:
::onLine(%this,%line)

%this.linecount++;
Greek2me:
Hm, I'd wanted the total line count at the beginning of the download. Maybe I can just manually find the line count with that and then place it in a separate text file that they download.


Nevermind about this, locking
Navigation
Message Index

Go to full version