Upload from buffer instead of from file