source/factory.js
function moveFile(remotePath, targetRemotePath, options) {
            const moveOptions = merge(baseOptions, options || {});
            return move.moveFile(remotePath, targetRemotePath, moveOptions);
        }
function moveFile(remotePath, targetRemotePath, options) {
            const moveOptions = merge(baseOptions, options || {});
            return move.moveFile(remotePath, targetRemotePath, moveOptions);
        }
function moveFile ( remotePath , targetRemotePath , options ) { const moveOptions = merge ( baseOptions , options || { } ) ; return move . moveFile ( remotePath , targetRemotePath , moveOptions ) ; }
Move a remote item to another path
@param {String} remotePath The remote item path
@param {String} targetRemotePath The new path after moving
@param {UserOptions=} options Options for the request
@memberof ClientInterface
@returns {Promise} A promise that resolves once the request has completed
@example
await client.moveFile("/sub/file.dat", "/another/dir/file.dat");
Move a remote item to another path