Aborts the upload and deletes any data.
an Observable identifying when the abort and cleanup has finished
Closes the output stream
The BsonValue id for this file.
the id for this file
Gets the ObjectId for the file to be uploaded
the ObjectId for the file to be uploaded
MongoGridFSException if the file id is not an ObjectId.
Writes a sequence of bytes from the given buffer into this stream.