I've tried using UploadByteArray, but it appears to fail without throwing an exception. UploadFile works fine in the same directory with the same filename, so it's not a server problem. Is there any documentation for these functions beyond the largely useless auto-generated NDoc?