Can a boat travel upstream?

To go upstream, the bows point directly upwards and the sail is let out to run before the wind. At this point of navigation, the boat can go quite fast. With a wind of 5 mph, the boat can approach a maximum of 5 mph. Since typical currents will be less than 1 mph, the boat can easily overcome the current.