Open hershyheilpern opened 6 years ago
This is not an issue, but a how-to
question. It's probably better to ask on stackoverflow or some other network.
ftps.get()
to retrieve the file, use node fs
to read the downloaded file into a variablenode fs
to stream the variable contents into a file, use ftps.put()
to upload the newly created file to the server.Both of these should consider async await
with promises or npm-async
with callbacks
how can i get the downloaded file into a variable
and upload a file from a variable