createFileDump(file: File,comment: string | undefined,userId: string,isPrivate?: boolean,title?: string,categoryIds?: string[]): Promise<Dump>
Posts an uploaded file as userId, for POST /api/dumps, and stores it in
DUMPS_DIR under the dump's id. It is announced and notified as
createUrlDump does.
file: File
Promise<Dump>