Team city publishes its artifacts to a dynamically changing URL-- the version and build number keeps incrementing.
How can I automate the download of such a file?
Does team city even have a feature that I'm not aware of for automatically moving artifacts from the build server's artifact repository to the staging/test server?
In case anyone else stumbles on this, Team City has a Deployer plugin which supports moving artifacts to a Samba share, FTP server or SSH server: http://confluence.jetbrains.com/display/TW/Deployer+plugin
What I usually do is bake the publishing / copying /deployment (ie- downloading) of things directly into the build script that TeamCity uses instead of setting things up as artifacts.
Alternatively, you could set up a new build config that would automatically start after your first build is done. It would take your project's artifacts as dependencies and publish them.