fixed upload/download classes

Signed-off-by: Martin Säfsten <martin@safsten.se>