Upload facility for remote api