When I try to put the parameters in via httpAddParameter then I get 400 errors (badly formed request)When I create a single string with all of the parameters (including the file piece) then the sendForm is failing.

// These are then attached to the form using httpAddFile sFinal is ANSI string = StringBuild("Content-Length: %1"+CR+"Content-Range: %2"+CR+CR,sTot,sContRan) HTTPAddFile("piecemeal",sFinal,sF,"application/x-www-form-urlencoded")

This is now producing a file of the right size and name at the other end but this file (a moviefile for testing purposes) doesn't play. I am looking to transfer zip files that will contain images as well as data. So obviously the integrity of that data is vital.

I am now looking at whether there are missing pieces where the data did not quite all transfer or if the 'format' of the data transfer (plain/text... urencoded etc makes any difference.