Spent some time today upgrading the blog to dasblog 2.0. The upgrade was pretty simple but ended up stuck because I couldn't log in after the upgrade was completed. After a whole bunch of messing around poking at things and reviewing the config files I ended up downloading SmartFTP to try and recopy all the files which I had done manually the first time. Ya, I know I should have done that to start with ... as it was I just used windows explorer and copied over the files that had changed. Obviously that was a bad idea because it didn't work.
Spent about 15 min downloading, installing, configuring SmartFTP and recopying all of the dasBlog 2.0 files to the website - bingo, it worked just fine. So because I was too lazy to download it to start with I spent 1+ hrs messing around copying the files manually and trying get it working once I was done because it failed. Windows Explorer = stupid FTP, and anyone chosing to use it isn't much better, myself included.
As part of the upgrade I realized I hadn't been cleaning out the old logs that dasBlog keeps. Ended up writing a simple dos batch file to call an ftp script that will download all of the logs and then delete them from the server - here's the code for it.
CleanupDasblog.bat:
ftp -n -v -i -s:c:\scripts\CleanupDasblog.txt [ftp.yourwebsite.com]
CleanupDasblog.txt:
USER [username]
[password]
cd [remotepath/log]
lcd [localpath\log]
mget *.*
mdel *.*
close
quit