In order to append the bytes to an existing file, pass FileMode. append as the optional mode parameter . If the argument flush is set to true , the data written will be flushed to the file system before the returned future completes.
In order to append the bytes to an existing file, pass FileMode. append as the optional mode parameter . If the argument flush is set to true , the data written will be flushed to the file system before the returned future completes.