node-ssh icon indicating copy to clipboard operation
node-ssh copied to clipboard

Is it possible to set transfer mode (binary or ascii) when calling `putFile`

Open marin-masic opened this issue 2 years ago • 1 comments

Hello. We are uploading XML file (around 2 MB) via FTP using putFile method, and sometimes XML file is malformed after upload. That kind of issue can happen when using ASCII transfer mode for non-ASCII files. Is it possible to set transfer mode when calling putFile? Thank you!

marin-masic avatar Nov 13 '23 12:11 marin-masic