You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 5, 2022. It is now read-only.
I would like to be able to pass in a buffer rather than a file path as the first argument to scp. This would allow me to SCP files from AWS S3 (or elsewhere - something I generate in-memory) without needing to write it to a temporary file.
The text was updated successfully, but these errors were encountered:
@jthomerson While a little more verbose than passing a Buffer directly to the scp function, the code snippet below should provide the desired behavior. The low level API allows for copying data from a Buffer, see write under Methods.
I would like to be able to pass in a buffer rather than a file path as the first argument to
scp
. This would allow me to SCP files from AWS S3 (or elsewhere - something I generate in-memory) without needing to write it to a temporary file.The text was updated successfully, but these errors were encountered: