public function put($localFile, $remoteFile, $mode = FTP_IMAGE, $startPos = 0) {
        if (false === @ftp_put($this->getConnection(), $remoteFile, $localFile, $mode, $startPos)) {
            throw $this->newFTPException(sprintf("put %s into %s failed", $localFile, $remoteFile));
        }
        return $this;
    }