 After 1850, railroads largely replaced the canal.New York City was a major ocean port and had extensive traffic importing cotton from the South and exporting manufacturing goods.Nearly half of the state's exports were related to cotton.