def set_file_priority torrent_hash, file_id, priority
      query = ["hash=#{torrent_hash}", "id=#{file_id}", "priority=#{priority}"]

      options = {
        body: query.join('&')
      }

      self.class.post('/command/setFilePrio', options)
    end
def set_file_priority torrent_hash, file_id, priority
      query = ["hash=#{torrent_hash}", "id=#{file_id}", "priority=#{priority}"]

      options = {
        body: query.join('&')
      }

      self.class.post('/command/setFilePrio', options)
    end
Set the download priority of a file within a torrent

 file_id is a 0 based position of the file within the torrent