Upload secure feature does not work