Jump to content
Sign in to follow this  
lequithienan

help me about get size from website

Recommended Posts

lequithienan

i have some problem with get size website

example

$i = 1

$loop = 1

$filenamecreate = "abcd_" & $i & ".mdb"

$url = "http://www.website.com/files/files.mdb";example

$getfile = InetGet($url,$filenamecreate)

Do

$sizefile = FileGetSize(@ScriptDir & "\" & "files_" & $i & ".mdb")

$sizeurl = InetGetSize($url)

if $sizefile > $sizeurl or $sizefile < $sizeurl Then

$i = $i + 1

$filenamecreate2 = InetGet($url,"files_" & $i & ".mdb")

Endif

Until $loop > 2

but my link so long $url = "http://www.website.com/files/files.mdb" , internet explorer cannot run for inetgetsize and inetgetsize cannot get with https with my link , plz help me

Edited by lequithienan

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.