Sign in to follow this  
Followers 0
mary

check FileExists in the remote website before Inetget

3 posts in this topic

is there a way to know if a file exist before downloding it from a website?

the remote web site send an empty html file when the file not exist

inetget("www.thesite.com/my_wanted_file.exe", @scriptdir & " \my_wanted_file.exe",1,0)

Share this post


Link to post
Share on other sites



InetGetSize()

Share this post


Link to post
Share on other sites

InetGetSize()

tanks a lot

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  
Followers 0