|
485 | 485 | </term>
|
486 | 486 | <listitem>
|
487 | 487 | <para>
|
488 |
| - !!! effect の翻訳がいまいち |
489 | 488 | このオプションに <literal>1</literal> を設定すると、
|
490 |
| - 使っているプロトコルによって異なる効果を及ぼします。 |
491 |
| - !!! |
492 |
| - FTP and SFTP based URLs will list only the names of files in a directory. |
493 |
| - POP3 will list the email message or messages on the POP3 server. |
| 489 | + 使っているプロトコルによって異なる動作をします。 |
| 490 | + FTP および SFTP ベースの URL では、ディレクトリ内のファイル名のみを列挙します。 |
| 491 | + POP3 では、POP3 サーバー上の電子メールメッセージを列挙します。 |
494 | 492 | FILE に対してこのオプションは効果がありません。
|
495 | 493 | このモードではディレクトリは常に列挙されるからです。
|
496 | 494 | このオプションを <constant>CURLOPT_WILDCARDMATCH</constant> と一緒に使うと、
|
|
672 | 670 | </term>
|
673 | 671 | <listitem>
|
674 | 672 | <para>
|
675 |
| - !!! |
676 |
| - Like <constant>CURLOPT_RANDOM_FILE</constant>, except a filename |
677 |
| - to an Entropy Gathering Daemon socket. |
| 673 | + <constant>CURLOPT_RANDOM_FILE</constant> と似ていますが、 |
| 674 | + Entropy Gathering Daemon ソケットのファイル名を指定します。 |
678 | 675 | cURL 7.7.0 以降で利用可能ですが、cURL 7.84.0 以降は非推奨となりました。
|
679 | 676 | </para>
|
680 | 677 | </listitem>
|
|
876 | 873 | </term>
|
877 | 874 | <listitem>
|
878 | 875 | <para>
|
879 |
| - !!! |
880 |
| - Set to &true; to only list the names of an FTP directory. |
| 876 | + FTP ディレクトリの名前のみを列挙するには &true; を指定します。 |
881 | 877 | cURL 7.1.0 以降で利用可能ですが、cURL 7.16.4 以降は非推奨となりました。
|
882 | 878 | </para>
|
883 | 879 | </listitem>
|
|
939 | 935 | </term>
|
940 | 936 | <listitem>
|
941 | 937 | <para>
|
942 |
| - !!! |
943 |
| - Pass a <type>string</type> that will be used to try to authenticate over FTP |
944 |
| - if the <literal>USER/PASS</literal> negotiation fails. |
| 938 | + <literal>USER/PASS</literal> ネゴシエーションが失敗した場合に、 |
| 939 | + FTP での認証を試行するのに使われる <type>string</type> を指定します。 |
945 | 940 | cURL 7.15.5 以降で利用可能です。
|
946 | 941 | </para>
|
947 | 942 | </listitem>
|
|
953 | 948 | </term>
|
954 | 949 | <listitem>
|
955 | 950 | <para>
|
956 |
| - !!! |
957 |
| - Set to &true; to create missing directories when an FTP operation |
958 |
| - encounters a path that currently doesn't exist. |
| 951 | + &true; を指定すると、FTP の操作で今存在しないパスに遭遇した場合に |
| 952 | + 足りないディレクトリを作成します。 |
959 | 953 | cURL 7.10.7 以降で利用可能です。
|
960 | 954 | </para>
|
961 | 955 | </listitem>
|
|
967 | 961 | </term>
|
968 | 962 | <listitem>
|
969 | 963 | <para>
|
970 |
| - !!! |
971 |
| - Tell cURL which method to use to reach a file on a FTP(S) server. Possible values are |
972 |
| - any of the <constant>CURLFTPMETHOD_<replaceable>*</replaceable></constant> constants. |
| 964 | + FTP(S) サーバー上のファイルにアクセスするために使用するメソッドを cURL に指示します。 |
| 965 | + 指定できる値は <constant>CURLFTPMETHOD_<replaceable>*</replaceable></constant> 定数のいずれかです。 |
973 | 966 | デフォルト値は <constant>CURLFTPMETHOD_MULTICWD</constant> です。
|
974 | 967 | cURL 7.15.1 以降で利用可能です。
|
975 | 968 | </para>
|
|
1246 | 1239 | </term>
|
1247 | 1240 | <listitem>
|
1248 | 1241 | <para>
|
1249 |
| - !!! |
1250 |
| - An <type>array</type> of HTTP <literal>200</literal> responses that will be treated as valid responses and not as errors. |
| 1242 | + エラーではなく有効なレスポンスとして扱われる HTTP <literal>200</literal> レスポンスの <type>array</type> を指定します。 |
1251 | 1243 | cURL 7.10.3 以降で利用可能です。
|
1252 | 1244 | </para>
|
1253 | 1245 | </listitem>
|
|
1368 | 1360 | </term>
|
1369 | 1361 | <listitem>
|
1370 | 1362 | <para>
|
1371 |
| - !!! |
1372 |
| - If set to <literal>1</literal>, |
1373 |
| - ignore the <literal>Content-Length</literal> header in the HTTP response |
1374 |
| - and ignore asking for or relying on it for FTP transfers. |
| 1363 | + <literal>1</literal> に設定すると、 |
| 1364 | + HTTP レスポンスの <literal>Content-Length</literal> ヘッダーを無視します。 |
| 1365 | + FTP 転送の際には、それを要求したりそれに依存したりしなくなります。 |
1375 | 1366 | デフォルト値は <literal>0</literal> です。
|
1376 | 1367 | cURL 7.14.1 以降で利用可能です。
|
1377 | 1368 | </para>
|
|
1384 | 1375 | </term>
|
1385 | 1376 | <listitem>
|
1386 | 1377 | <para>
|
1387 |
| - !!! |
1388 |
| - Accepts a file handle <type>resource</type> |
1389 |
| - to the file that the transfer should be read from when uploading. |
| 1378 | + アップロード時に読み込まれるファイルの |
| 1379 | + ファイルハンドル <type>resource</type> を指定します。 |
1390 | 1380 | cURL 7.1.0 以降で利用可能ですが、cURL 7.9.7 以降は非推奨となりました。
|
1391 | 1381 | Use <constant>CURLOPT_READDATA</constant> instead.
|
1392 | 1382 | </para>
|
|
1429 | 1419 | </term>
|
1430 | 1420 | <listitem>
|
1431 | 1421 | <para>
|
1432 |
| - !!! |
1433 |
| - Allows an application to select what kind of IP addresses to use when |
1434 |
| - resolving host names. This is only interesting when using host names that |
1435 |
| - resolve addresses using more than one version of IP. |
| 1422 | + ホスト名を解決する際に、使用する IP アドレスの種類をアプリケーションが選択できるようにします。 |
| 1423 | + これは、複数の IP バージョンを利用してアドレスを解決するようなホスト名を使う場合のみ意味があります。 |
1436 | 1424 | Set to one of the
|
1437 | 1425 | <constant>CURL_IPRESOLVE_<replaceable>*</replaceable></constant> constants.
|
1438 | 1426 | デフォルト値は <constant>CURL_IPRESOLVE_WHATEVER</constant> です。
|
|
1466 | 1454 | </term>
|
1467 | 1455 | <listitem>
|
1468 | 1456 | <para>
|
1469 |
| - !!! |
1470 |
| - Pass a <type>string</type> with binary data of a CA SSL certificate in PEM format. |
1471 |
| - If set, an additional check against the peer certificate is performed |
1472 |
| - to verify the issuer is the one associated with the certificate provided by the option. |
| 1457 | + PEM 形式の CA SSL 証明書のバイナリデータが含まれた <type>string</type> を指定します。 |
| 1458 | + これが設定されていると、ピア証明書に対する追加のチェックが実行され、 |
| 1459 | + 発行者がこのオプションで提供された証明書に関連付けられていることを確認します。 |
1473 | 1460 | PHP 8.1.0 以降かつ cURL 7.71.0 以降で利用可能です。
|
1474 | 1461 | </para>
|
1475 | 1462 | </listitem>
|
|
1481 | 1468 | </term>
|
1482 | 1469 | <listitem>
|
1483 | 1470 | <para>
|
1484 |
| - !!! |
1485 |
| - Set to &true; to keep sending the request body if the HTTP code returned is equal to or larger than <literal>300</literal>. |
1486 |
| - The default action would be to stop sending |
1487 |
| - and close the stream or connection. Suitable for manual NTLM authentication. |
| 1471 | + &true; を指定すると、返された HTTP コードが <literal>300</literal> 以上の場合にリクエストボディの送信を継続するようになります。 |
| 1472 | + デフォルトでは、送信を中止し、ストリームないし接続を閉じます。 |
| 1473 | + 手動 NTLM 認証に適しています。 |
1488 | 1474 | Most applications do not need this option.
|
1489 | 1475 | PHP 7.3.0 以降かつ cURL 7.51.0 以降で利用可能です。
|
1490 | 1476 | </para>
|
|
1574 | 1560 | </term>
|
1575 | 1561 | <listitem>
|
1576 | 1562 | <para>
|
1577 |
| - !!! |
1578 |
| - The number of attempts cURL makes to find a working local port number, |
1579 |
| - starting with the one set with <constant>CURLOPT_LOCALPORT</constant>. |
| 1563 | + cURL が動作するローカルポート番号を探す試行回数を指定します。 |
| 1564 | + 検索は <constant>CURLOPT_LOCALPORT</constant> で設定されたポートから開始されます。 |
1580 | 1565 | このオプションは、有効な <type>int</type> にキャストできる任意の値を受け付けます。
|
1581 | 1566 | デフォルト値は <literal>1</literal> です。
|
1582 | 1567 | cURL 7.15.2 以降で利用可能です。
|
|
1727 | 1712 | </term>
|
1728 | 1713 | <listitem>
|
1729 | 1714 | <para>
|
1730 |
| - !!! |
1731 |
| - The maximum amount of persistent connections that are allowed. |
1732 |
| - When the limit is reached, the oldest one in the cache is closed |
1733 |
| - to prevent increasing the number of open connections. |
| 1715 | + 永続化された接続の最大数を指定します。 |
| 1716 | + 制限に達すると、開いている接続の数が増えないよう、 |
| 1717 | + キャッシュ内の最も古いものが閉じられます。 |
1734 | 1718 | このオプションは、有効な <type>int</type> にキャストできる任意の値を受け付けます。
|
1735 | 1719 | cURL 7.7.0 以降で利用可能です。
|
1736 | 1720 | </para>
|
|
1743 | 1727 | </term>
|
1744 | 1728 | <listitem>
|
1745 | 1729 | <para>
|
1746 |
| - !!! |
1747 |
| - Sets the maximum accepted size (in bytes) of a file to download. |
1748 |
| - If the file requested is found larger than this value, |
1749 |
| - the transfer is aborted |
1750 |
| - and <constant>CURLE_FILESIZE_EXCEEDED</constant> is returned. |
| 1730 | + ダウンロードするファイルの最大受入サイズ (バイト単位) を指定します。 |
| 1731 | + リクエストされたファイルがこの値よりも大きいことがわかると、 |
| 1732 | + 転送が中止され、<constant>CURLE_FILESIZE_EXCEEDED</constant> が返されます。 |
1751 | 1733 | Passing <literal>0</literal> disables this option,
|
1752 | 1734 | and passing a negative size returns a
|
1753 | 1735 | <constant>CURLE_BAD_FUNCTION_ARGUMENT</constant>.
|
|
1770 | 1752 | </term>
|
1771 | 1753 | <listitem>
|
1772 | 1754 | <para>
|
1773 |
| - !!! |
1774 |
| - The maximum file size in bytes allowed to download. If the file requested is found larger than this value, |
1775 |
| - the transfer will not start and <constant>CURLE_FILESIZE_EXCEEDED</constant> will be returned. |
1776 |
| - The file size is not always known prior to download, and for such files this option has no effect even if |
1777 |
| - the file transfer ends up being larger than this given limit. |
| 1755 | + ダウンロードが許可される最大ファイルサイズ (バイト単位) です。リクエストされたファイルがこの値よりも大きいことが判明すると、 |
| 1756 | + 転送は開始されず、<constant>CURLE_FILESIZE_EXCEEDED</constant> が返されます。 |
| 1757 | + ファイルサイズが必ずしもダウンロード前にわかるとは限りません。そのようなファイルに対しては、 |
| 1758 | + ファイル転送が結果的にこの制限よりも大きくなったとしても、このオプションは効果がありません。 |
1778 | 1759 | このオプションは、有効な <type>int</type> にキャストできる任意の値を受け付けます。
|
1779 | 1760 | PHP 8.2.0 以降かつ cURL 7.11.0 以降で利用可能です。
|
1780 | 1761 | </para>
|
|
1852 | 1833 | </term>
|
1853 | 1834 | <listitem>
|
1854 | 1835 | <para>
|
1855 |
| - !!! |
1856 |
| - Set to a bitmask of <constant>CURLMIMEOPT_<replaceable>*</replaceable></constant> |
1857 |
| - constants. Currently there is only one available option: |
1858 |
| - <constant>CURLMIMEOPT_FORMESCAPE</constant>. |
| 1836 | + <constant>CURLMIMEOPT_<replaceable>*</replaceable></constant> 定数のビットマスクを指定します。 |
| 1837 | + 現在利用可能なオプションは、 |
| 1838 | + <constant>CURLMIMEOPT_FORMESCAPE</constant> のみです。 |
1859 | 1839 | PHP 8.3.0 以降かつ cURL 7.81.0 以降で利用可能です。
|
1860 | 1840 | </para>
|
1861 | 1841 | </listitem>
|
|
1884 | 1864 | </term>
|
1885 | 1865 | <listitem>
|
1886 | 1866 | <para>
|
1887 |
| - !!! |
1888 |
| - Set to &true; to scan the <filename>~/.netrc</filename> |
1889 |
| - file to find a username and password for the remote site that |
1890 |
| - a connection is being established with. |
| 1867 | + &true; を指定すると、 |
| 1868 | + 接続しているリモートサイトのユーザー名とパスワードを探すために |
| 1869 | + <filename>~/.netrc</filename> ファイルをスキャンします。 |
1891 | 1870 | cURL 7.1.0 以降で利用可能です。
|
1892 | 1871 | </para>
|
1893 | 1872 | </listitem>
|
|
1899 | 1878 | </term>
|
1900 | 1879 | <listitem>
|
1901 | 1880 | <para>
|
1902 |
| - !!! |
1903 |
| - Set a <type>string</type> containing the full path name to a <literal>.netrc</literal> file. |
1904 |
| - If this option is omitted and <constant>CURLOPT_NETRC</constant> is set, |
1905 |
| - cURL checks for a <literal>.netrc</literal> file |
1906 |
| - in the current user's home directory. |
| 1881 | + <literal>.netrc</literal> ファイルへのフルパス名を含む <type>string</type> を指定します。 |
| 1882 | + このオプションが省略され、かつ <constant>CURLOPT_NETRC</constant> が設定されている場合、 |
| 1883 | + cURL は現在のユーザーのホームディレクトリにある |
| 1884 | + <literal>.netrc</literal> ファイルをチェックします。 |
1907 | 1885 | cURL 7.11.0 以降で利用可能です。
|
1908 | 1886 | </para>
|
1909 | 1887 | </listitem>
|
|
1915 | 1893 | </term>
|
1916 | 1894 | <listitem>
|
1917 | 1895 | <para>
|
1918 |
| - !!! |
1919 |
| - Sets the value of the permissions (<type>int</type>) that is set on newly created directories |
1920 |
| - on the remote server. The default value is <literal>0755</literal>. |
1921 |
| - The only protocols that can use this are |
1922 |
| - <literal>sftp://</literal>, <literal>scp://</literal> |
1923 |
| - and <literal>file://</literal>. |
| 1896 | + リモートサーバーで新しく作成されたディレクトリに設定されるパーミッションの値 (<type>int</type>) を設定します。 |
| 1897 | + デフォルト値は <literal>0755</literal> です。 |
| 1898 | + これを使用できるプロトコルは <literal>sftp://</literal>、<literal>scp://</literal>、 |
| 1899 | + <literal>file://</literal> のみです。 |
1924 | 1900 | cURL 7.16.4 以降で利用可能です。
|
1925 | 1901 | </para>
|
1926 | 1902 | </listitem>
|
|
0 commit comments