er' : 'api/v2/torrents/renameFile',
                    method: 'post',
                    data: {
                        hash: hash,
                        oldPath: oldPath,
                        newPath: newPath
                    },
                    onSuccess: function() {
                        window.parent.closeWindows();
                    },
                    onFailure: function() {
                        alert('QBT_TR(Failed to update name)QBT_TR[CONTEXT=HttpServer]');
               