- Code: Select all
set roster_url=http://www.myguildserver.com/roster/update.php
set guildpw=myguildpassword
set wow_account=mywowaccount
set wow_path="c:\program files\world of warcraft"
gzip --stdout %wow_path%\wtf\Account\%wow_account%\SavedVariables\CharacterProfiler.lua > %temp%\CharacterProfiler.lua.gz
curl -F CharacterProfiler=@%temp%\CharacterProfiler.lua.gz -F password=%guildpw% -F submit=Upload %roster_url%
You can copy and paste the curl command line to upload to more than one guild server, each with its own password. Or leave the password blank if you're not authorized to update the member list.
Enhancements welcome.
cURL binaries can be downloaded here:
http://curl.haxx.se/
gzip binaries (for faster uploads) can be found here:
http://www.gzip.org/