Giving up for the night; unable to make upload work correctly
Gives error 321 ERR_INCOMPLETE_CHUNKED_ENCODING