libcurlでrsyncを有効にする方法は?

libcurlでrsyncを有効にする方法は?

私はArchieにいます。pacmanサーバーからパッケージをダウンロードしようとすると、ftpエラーメッセージで失敗します。

libcurl では、プロトコル rsync はサポートされていないか無効になります。

これはしばらく私を悩ませましたが、私が何をしたのか覚えていません。 (Pacmanはサーバーからダウンロードしたhttpだけで無視できました。)私はそれらをインストールrsyncしてlibcurlインストールしてみましたが、以前は明らかに一緒にうまくいきました。libcurl設定ファイルが見つからず、curlページにも記載されていません。どのように活性化しますか?rsyncmanrsync

ベストアンサー1

libcurlはrsyncプロトコルをサポートしていません。

libcurlからよくある質問:第3.21条

   3.21 Protocol xxx not supported or disabled in libcurl

   When passing on a URL to curl to use, it may respond that the particular
   protocol is not supported or disabled. The particular way this error message
   is phrased is because curl doesn't make a distinction internally of whether
   a particular protocol is not supported (i.e. never got any code added that
   knows how to speak that protocol) or if it was explicitly disabled. curl can
   be built to only support a given set of protocols, and the rest would then
   be disabled or not supported.

   Note that this error will also occur if you pass a wrongly spelled protocol
   part as in "htpt://example.com" or as in the less evident case if you prefix
   the protocol part with a space as in " http://example.com/".

libcurlはrsyncプロトコルやヒントについてはまったくわかりません。ただし、URLのインジケータでプロトコルを「推測」するように設計されているため、使用しようとするとrsync://blah.blah「rsync」を意味したと推測しますが、それがわからないためエラーが返されます。 。

試してみると同じエラーが発生しますlornix://blah.blah。私もファイル転送プロトコルのようです。 (そうであれば教えてください!)

Libcurlは次のような印象的なセットをサポートしています。規約しかし、rsyncはそのうちの1つではありません。

おすすめ記事