| || |
Get file size in WebTest
I'm trying to get the size of a file in web testing.
I've tried to use the get_file_size() function like this:
filesize = get_file_size("http://server:8080/index.html");
But it think this function is for local use only... So am i doing anything wrong? Or is there any other way of getting it?
Thanks in advance,