There is no direct train from Florence to Positano. Once you reach Naples, things get a bit more difficult because you'll have to take a changeover in Napoli Centrale or Vico Equense. Duration also depends on which and how many stops the train takes along the way.