I'm having a little trouble using the withFileToUpload function on Linux.
Here is some sample code:
URL dataUpload (serverURL); dataUpload = dataUpload.withFileToUpload ("DataFile", tempDataFile, "text/xml"); ScopedPointer <InputStream> stream (dataUpload.createInputStream (true)); String serverResponse = stream->readEntireStreamAsString();
This works fine on Windows and OSX but for some reason the file doesn't get uploaded on Linux.
Anybody experienced this before?