SFTP to copy not move

0
Hello, I’m successfully using SFTP to move files from one folder to another in a GCloud server from a Mendix app. However now I need to just copy them, without deleting the source file.  How can I reach it with SFTP?    
asked
2 answers
2

Hi Roberto,

 

Some SFTP Servers have the ability to use certain copy commands.   However, this is only beginning to be implemented in a widespread fashion with newer SFTP server versions.

 

The most straightforward (albeit least efficient) way to accomplish this with the SFTP tools available on the mendix marketplace right now will be to first download the file from the server, store it within you app temporarily, then reupload it to the SFTP server in the new directory.

 

Hopefully this can help you with what you are working on

answered
0

Thank you very much Danny,

 

answered