Question:
If someone can help to guide on how to download file from SFTP on the left 1st SFTP server and then upload it to the right 2nd SFTP server?
Reason:
On the left 1st SFTP server, I have a cron job that runs and takes backup of a file, and I need that backup stored on secondary storage which is the 2nd SFTP server.
I did extra reading and I found out that in order to move binary data files between nodes, we should be using a middle-man node (Read Binary Files - n8n Documentation)
So far, I was able to get the download file in the first SFTP server, however, not sure how to upload the file to the second SFTP?
HI @ansred,
your Read Binary Files does not really do anything, I think you can remove. In your second SFTP server node you are trying to upload the file using an incomplete filte path.
Any idea how to have the download 1st SFTP download all the files in a directory and have the 2nd SFTP server node to upload them there (basically to sync the content in between)?
For example to download all the *.zip files from a directory in SFTP node one and then upload all *.zip files to the SFTP node two?