String length exceeds maximum: 6000000
Unfortunately your SOL when it comes to that sort of limit, you're only route is going to be moving the operation off Salesforce.
One option would be to create a heroku app with a single endpoint that takes the attachment Id. The endpoint can then retrieve the attachment and then upload it to the 3rd party server.