Standard/TeamSpeak/TeamSpeak3/Adapter/FileTransfer.php
protected function init($ftkey)
  {
    if(strlen($ftkey) != 32)
    {
      throw new FileTransfer\Exception("invalid file transfer key format");
    }

    $this->getProfiler()->start();
    $this->getTransport()->send($ftkey);

    \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Signal::getInstance()->emit("filetransferHandshake", $this);
  }
protected function init($ftkey)
  {
    if(strlen($ftkey) != 32)
    {
      throw new FileTransfer\Exception("invalid file transfer key format");
    }

    $this->getProfiler()->start();
    $this->getTransport()->send($ftkey);

    \ManiaLivePlugins\Standard\TeamSpeak\TeamSpeak3\Helper\Signal::getInstance()->emit("filetransferHandshake", $this);
  }
Sends a valid file transfer key to the server to initialize the file transfer.

@param  string $ftkey
@throws FileTransfer\Exception
@return void