XBMC does support shutdown via web interface. However, I don't think anyone setup a command you could run through FTP to shutdown the xbox. Just get XBMC on there and you can FTP, play music remotely, do all kinds of other sh*t, and shutdown the xbox from any location in the world (literally).