Jump to content

Recommended Posts

Posted

Hi,

here's my code, But Is there any other way Like "FileExists"?

$qq = InetGetSize("http://sites.google.com/site/carshoppage/javascript/archive.zip")
If $qq = 22 Then
    MsgBox(4096, "archive.zip", "Exists.................")
Else
    MsgBox(4096, "archive.zip", "Not Exists.................")
EndIf
Posted (edited)

If (InetGetSize("http://www.autoitscript.com/autoit3/files/beta/update.dat")) Then Msgbox(1,"","File Exists")

That's what I've seen decided upon in other threads, your example seems to be the way to go.

Edit: Had I looked closer at your example, I wouldn't have bothered replying. You have it right already, and what could be simpler?

Edited by Spiff59

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
  • Recently Browsing   0 members

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