BPBNA Posted August 11, 2006 Share Posted August 11, 2006 So my script can check to see if INetGet is active and how many bytes are read... but is there a way to check the total bytes? I cant find any macros for it and I didn't see anything in the IE.au3 that could help. Does anyone know of a function or have a UDF that can do this? Link to comment Share on other sites More sharing options...
MHz Posted August 12, 2006 Share Posted August 12, 2006 Perhaps FileGetSize() may do? Link to comment Share on other sites More sharing options...
Valik Posted August 12, 2006 Share Posted August 12, 2006 Perhaps FileGetSize() may do? And by FileGetSize() you mean InetGetSize() since presumably the vague question is referring to getting the size on the server and not the local size after it has been downloaded? Link to comment Share on other sites More sharing options...
MHz Posted August 12, 2006 Share Posted August 12, 2006 And by FileGetSize() you mean InetGetSize() since presumably the vague question is referring to getting the size on the server and not the local size after it has been downloaded?As you mentioned about the question being vague, and still vague with reading again a few times over. I considered the post operation of the download for the script to check the filesize to validate, which is why I did mention FileGetSize(). Your reply with InetGetSize() is more common to use before using InetGet, so I think you may have interpreted the question better then I. Link to comment Share on other sites More sharing options...
Somniis Posted August 12, 2006 Share Posted August 12, 2006 (edited) Local $size = InetGetSize("address")oÝ÷ Ùh¥·º¹íë"Íè§o+^±«¢+Ù1½°ÀÌØíôI½Õ¹ ÀÌØíÍ¥é¼ÄÀÈФ Will convert it to kilobytes. (If you need this) Edited August 12, 2006 by Somniis Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now