Skip to main content

Module download

Module download 

Source
Expand description

Streaming downloads.

download_to_writer follows Graph’s redirect to the pre-authenticated storage URL and streams the body to the caller’s AsyncWrite. Used by files download (writes to file or stdout via -).

Functions§

download_to_writer
Stream the contents of a drive item to writer. Returns total bytes written.