A default Upload that can upload from a wide variety of content
Returns the number of bytes that will be written to sink in a call to .writeTo, or -1 if that count is unknown.
sink
The fileName to send to the server. Might be null
Writes the content of this request to sink.