source/index.js
function(filePath, options) {
            var clientOptions = {};
            if (options && options !== null) {
                if (typeof options.headers === "object") {
                    clientOptions.headers = options.headers;
                }
            }
            return client.createWriteStream(filePath, clientOptions);
        }
function(filePath, options) {
            var clientOptions = {};
            if (options && options !== null) {
                if (typeof options.headers === "object") {
                    clientOptions.headers = options.headers;
                }
            }
            return client.createWriteStream(filePath, clientOptions);
        }
function ( filePath , options ) { var clientOptions = { } ; if ( options && options !== null ) { if ( typeof options . headers === "object" ) { clientOptions . headers = options . headers ; } } return client . createWriteStream ( filePath , clientOptions ) ; }
Create a write stream for a remote file
@param {String} filePath The remote path
@param {CreateWriteStreamOptions=} options Options for the stream
@returns {Writeable} A writeable stream
Create a write stream for a remote file