The second sentence isn't wrong, but it means something different to what you're trying to say.
"I have been to France" means that at any time before now, I was in France.
"I had been last France" means that at any time before last summer, I was in France ie. last summer you could have said "I have been to France". It's much more natural to say "I had been in France BY last summer."