I have an auto-update script. But, how could I make it so that it will (using sockets I assume) make sure the file is actually on the webserver before opening the dialog.

Usage: /download <URL> <Destanation dir> Example: /download http://www.mirc-help.de/mirc/mirc603.exe c:\

How could I make sure that mirc603.exe is actually there before doing it? Thanks.