original_string: public function size($remote_file)
      {
          $size = @ftp_size($this->connection, $remote_file);
          if ($size && $size != -1) {
              return $size;
          } else {
              throw new \Exception("Could not get remote file size: " . $path);
          }
      }
code: public function size($remote_file)
      {
          $size = @ftp_size($this->connection, $remote_file);
          if ($size && $size != -1) {
              return $size;
          } else {
              throw new \Exception("Could not get remote file size: " . $path);
          }
      }
code_tokens: public function size ( $ remote_file ) { $ size = @ ftp_size ( $ this -> connection , $ remote_file ) ; if ( $ size && $ size != - 1 ) { return $ size ; } else { throw new \ Exception ( "Could not get remote file size: " . $ path ) ; } }
docstring: Gets the size of a remote file
  @param string $remote_file path to remote file
  @return integer The size of the file in bytes
docstring_tokens: Gets the size of a remote file