I don’t use any external ftp connections, but your “invalid size” issue sounds well known to me. Indeed, there was a similar thread in the past. Have a look at it.
BTW, I want to avoid flaming up and/or continue the discussion from there. My proposal was a (for myself) acceptable solution. I don’t have to amend anything to it.