That sounds like a good idea. It was certainly your network sniffing which led to the solution here.
I suspected the prompt since the beginning, also because I saw an inconsistent behaviour with special login, but I thought it was the ansi codes in the prompt. Anyway, I'm glad to have been helpful for this improvement.
I think the decimal character issue is probably down to me. As far as I know, DSLstats displays its own graphs properly, taking into account the different forms of the decimal divider, but the MDWS uploads make use of a float-to-string conversion which observes the standards of the locale. I should be able to use a different type of float-to-string conversion which always uses a full stop for the decimal divider.
One of the things I learned when I was a young developer is that one important rule is to never trust the user input. So while I agree you could address the issue, I think that the best solution would be on the server side. Which, when receiving data, converts it appropriately. From what I saw, the server side can work with other software too, so the rule applies there, it shouldn't "trust" what the applications send.
Is there an API to communicate with mydslwebstats or you just agreed on a data format and you send files?