How to respond to file version requests via upload page