For a pretty unimportant application (not a lot of people use it), I actually wrote mine in Windows Batch and GNU Wget for Windows. It was really easy.
@echo off
if exist remoteversion.vfe del remoteversion.vfe
rem Download the versionfile, and if different than local versionfile, redownload program.
set /p localversion=<localversion.vfe
set /a localversion=%localversion%
call wsocket -t 20 http://superdisk.x10.mx/MCSkin2D/remoteversion.vfe
set /p remoteversion=<remoteversion.vfe
set /a remoteversion=%remoteversion%
if %remoteversion% gtr %localversion% (
msg * Your Version: %localversion%, Newest Version: %remoteversion% You are out of date. Press OK to update your version.
msg * This will take a while. Please wait.
del localversion.vfe
ren remoteversion.vfe localversion.vfe
del ..\library.zip
cd ..
call Wsocket\wsocket -t 20 http://superdisk.x10.mx/MCSkin2D/library.zip
msg * You are now up to date!
) else (
del wsocket\remoteversion.vfe
)
Don't ask me why I renamed Wget to Wsocket. :\