Jump to content

check FileExists in the remote website before Inetget


mary
 Share

Recommended Posts

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)
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...