Upload webpage

We should handle the case in which the connection attempt fails