I'm developing an application on nodejs where I need to access an ftp server and send some folders there. Before putting these folders on, I want to back up the folders on the server. How can I copy a directory inside the ftp server? The idea is to move the folder 'ftp_server_folder1' to 'ftp_server_backup / folder1'
Do I need to download the folder first and then send it to the server? I'm currently using the ssh2-sftp-client module.