Are you trying to do this using the ensim control panel?
Hands down the best way to replace files and update scripts is through an ftp program or barring that, using the ... iirc... power tools in ensim if it's allowed, which I'm not sure it is. It's been a couple of years since we've used...