client code for new upload
regular upload working again