⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hugehelp.c

📁 harvest是一个下载html网页得机器人
💻 C
📖 第 1 页 / 共 5 页
字号:
"              If this option is used several times, the ones fol-\n", stdout); fputs("              lowing the first will append data.\n""\n""       --digest\n""              (HTTP) Enables HTTP Digest authentication. This  is\n""              a  authentication  that  prevents the password from\n""              being sent over the wire in clear text. Use this in\n""              combination with the normal -u/--user option to set\n""              user name and password. See also --ntlm,  --negoti-\n""              ate  and  --anyauth  for related options. (Added in\n""              curl 7.10.6)\n""\n", stdout); fputs("              If this option is used several times, the following\n""              occurrences make no difference.\n""\n""       --disable-eprt\n""              (FTP)  Tell curl to disable the use of the EPRT and\n""              LPRT commands when doing active FTP transfers. Curl\n""              will  normally  always  first  attempt to use EPRT,\n""              then LPRT before using PORT, but with this  option,\n""              it  will  use  PORT  right  away. EPRT and LPRT are\n", stdout); fputs("              extensions to the original FTP  protocol,  may  not\n""              work  on  all servers but enable more functionality\n""              in a better way than the traditional PORT  command.\n""              (Aded in 7.10.5)\n""\n""              If  this  option is used several times, each occur-\n""              rence will toggle this on/off.\n""\n""       --disable-epsv\n""              (FTP) Tell curl to disable the use of the EPSV com-\n""              mand  when  doing  passive FTP transfers. Curl will\n", stdout); fputs("              normally always first attempt to  use  EPSV  before\n""              PASV,  but  with this option, it will not try using\n""              EPSV.\n""\n""              If this option is used several times,  each  occur-\n""              rence will toggle this on/off.\n""\n""       -D/--dump-header <file>\n""              Write the protocol headers to the specified file.\n""\n""              This  option is handy to use when you want to store\n""              the headers that a HTTP site sends to you.  Cookies\n", stdout); fputs("              from  the  headers  could  then be read in a second\n""              curl invoke by using the  -b/--cookie  option!  The\n""              -c/--cookie-jar  option  is however a better way to\n""              store cookies.\n""\n""              When used on FTP, the ftp server response lines are\n""              considered  being  \"headers\"  and  thus  are  saved\n""              there.\n""\n""              If this option is used several times, the last  one\n""              will be used.\n""\n", stdout); fputs("       -e/--referer <URL>\n""              (HTTP)  Sends the \"Referer Page\" information to the\n""              HTTP  server.  This  can  also  be  set  with   the\n""              -H/--header   flag   of  course.   When  used  with\n""              -L/--location you can append \";auto\" to the referer\n""              URL to make curl automatically set the previous URL\n""              when it follows a  Location:  header.  The  \";auto\"\n""              string  can be used alone, even if you don't set an\n", stdout); fputs("              initial referer.\n""\n""              If this option is used several times, the last  one\n""              will be used.\n""       --environment\n""              (RISC  OS  ONLY)  Sets a range of environment vari-\n""              ables, using the names the -w option  supports,  to\n""              easier allow extraction of useful information after\n""              having run curl.\n""\n""              If this option is used several times,  each  occur-\n""              rence will toggle this on/off.\n""\n", stdout); fputs("       --egd-file <file>\n""              (HTTPS)  Specify the path name to the Entropy Gath-\n""              ering Daemon socket. The socket is used to seed the\n""              random  engine  for  SSL  connections. See also the\n""              --random-file option.\n""\n""       -E/--cert <certificate[:password]>\n""              (HTTPS) Tells curl to use the specified certificate\n""              file  when  getting a file with HTTPS. The certifi-\n""              cate must be in PEM format.  If the optional  pass-\n", stdout); fputs("              word isn't specified, it will be queried for on the\n""              terminal. Note that this certificate is the private\n""              key and the private certificate concatenated!\n""\n""              If  this option is used several times, the last one\n""              will be used.\n""\n""       --cacert <CA certificate>\n""              (HTTPS) Tells curl to use the specified certificate\n""              file  to verify the peer. The file may contain mul-\n", stdout); fputs("              tiple CA certificates. The certificate(s)  must  be\n""              in PEM format.\n""\n""              curl  recognizes  the  environment  variable  named\n""              'CURL_CA_BUNDLE' if that is set, and uses the given\n""              path  as  a  path  to a CA cert bundle. This option\n""              overrides that variable.\n""\n""              The windows version of curl will automatically look\n""              for  a  CA  certs  file named 'curl-ca-bundle.crt',\n", stdout); fputs("              either in the same directory as curl.exe, or in the\n""              Current  Working  Directory, or in any folder along\n""              your PATH.\n""\n""              If this option is used several times, the last  one\n""              will be used.\n""\n""       --capath <CA certificate directory>\n""              (HTTPS) Tells curl to use the specified certificate\n""              directory to verify the peer. The certificates must\n""              be  in PEM format, and the directory must have been\n", stdout); fputs("              processed using the c_rehash utility supplied  with\n""              openssl.  Using  --capath  can  allow  curl to make\n""              https connections much more efficiently than  using\n""              --cacert if the --cacert file contains many CA cer-\n""              tificates.\n""\n""              If this option is used several times, the last  one\n""              will be used.\n""\n""       -f/--fail\n""              (HTTP)  Fail  silently (no output at all) on server\n", stdout); fputs("              errors. This is mostly done  like  this  to  better\n""              enable  scripts  etc  to  better  deal  with failed\n""              attempts. In normal cases when a HTTP server  fails\n""              to  deliver  a document, it returns a HTML document\n""              stating so (which  often  also  describes  why  and\n""              more).  This flag will prevent curl from outputting\n""              that and fail silently instead.\n""\n", stdout); fputs("              If this option is used twice, the second will again\n""              disable silent failure.\n""\n""       --ftp-create-dirs\n""              (FTP)  When  an  FTP URL/operation uses a path that\n""              doesn't currently exist on the server, the standard\n""              behaviour  of  curl  is to fail. Using this option,\n""              curl will instead attempt to create missing  direc-\n""              tories. (Added in 7.10.7)\n""\n", stdout); fputs("              If this option is used twice, the second will again\n""              disable silent failure.\n""\n""       -F/--form <name=content>\n""              (HTTP) This lets curl emulate a filled in  form  in\n""              which  a  user  has pressed the submit button. This\n""              causes curl to POST  data  using  the  content-type\n""              multipart/form-data   according  to  RFC1867.  This\n""              enables uploading of binary files etc. To force the\n", stdout); fputs("              'content'  part  to  be  be a file, prefix the file\n""              name with an @ sign. To just get the  content  part\n""              from  a  file, prefix the file name with the letter\n""              <. The difference between @ and < is  then  that  @\n""              makes  a  file  get  attached in the post as a file\n""              upload, while the < makes a text field and just get\n""              the contents for that text field from a file.\n""\n", stdout); fputs("              Example,  to send your password file to the server,\n""              where 'password' is the name of the  form-field  to\n""              which /etc/passwd will be the input:\n""\n""              curl -F password=@/etc/passwd www.mypasswords.com\n""\n""              To  read  the file's content from stdin insted of a\n""              file, use - where the  file  name  should've  been.\n""              This goes for both @ and < constructs.\n""\n", stdout); fputs("              You can also tell curl what Content-Type to use for\n""              the file upload part, by using 'type=', in a manner\n""              similar to:\n""\n""              curl -F \"web=@index.html;type=text/html\" url.com\n""\n""              See further examples and details in the MANUAL.\n""\n""              This option can be used multiple times.\n""\n""       -g/--globoff\n""              This option switches off the \"URL globbing parser\".\n""              When you set this option, you can specify URLs that\n", stdout); fputs("              contain  the letters {}[] without having them being\n""              interpreted by curl itself. Note that these letters\n""              are  not  normal legal URL contents but they should\n""              be encoded according to the URI standard.\n""\n""       -G/--get\n""              When used, this option will make all data specified\n""              with  -d/--data  or  --data-binary  to be used in a\n""              HTTP GET request instead of the POST  request  that\n", stdout); fputs("              otherwise  would be used. The data will be appended\n""              to the URL with a '?'  separator.\n""\n""              If used in combination with -I, the POST data  will\n""              instead be appended to the URL with a HEAD request.\n""\n""              If used multiple times, nothing special happens.\n""\n""       -h/--help\n""              Usage help.\n""\n""       -H/--header <header>\n""              (HTTP) Extra header to use when getting a web page.\n", stdout); fputs("              You  may  specify any number of extra headers. Note\n""              that if you should add a custom header that has the\n""              same  name  as  one of the internal ones curl would\n""              use,  your  externally  set  header  will  be  used\n""              instead  of  the  internal  one. This allows you to\n""              make even trickier stuff than curl  would  normally\n""              do.  You  should not replace internally set headers\n", stdout); fputs("              without knowing perfectly well what  you're  doing.\n""              Replacing  an internal header with one without con-\n""              tent on the right side of the  colon  will  prevent\n""              that header from appearing.\n""\n""              This   option   can   be  used  multiple  times  to\n""              add/replace/remove multiple headers.\n""\n""       -i/--include\n""              (HTTP) Include the HTTP-header in the  output.  The\n", stdout); fputs("              HTTP-header  includes things like server-name, date\n""              of the document, HTTP-version and more...\n""\n""              If this option is used twice, the second will again\n""              disable header include.\n""\n""       --interface <name>\n""              Perform  an  operation using a specified interface.\n""              You can enter interface name, IP  address  or  host\n""              name. An example could look like:\n""\n""              curl --interface eth0:1 http://www.netscape.com/\n""\n", stdout); fputs("              If  this option is used several times, the last one\n""              will be used.\n""\n""       -I/--head\n""              (HTTP/FTP/FILE) Fetch the HTTP-header  only!  HTTP-\n""              servers feature the command HEAD which this uses to\n""              get nothing but the header of a document. When used\n""              on  a FTP or FILE file, curl displays the file size\n""              and last modification time only.\n""\n""              If this option is used twice, the second will again\n", stdout); fputs("              disable header only.\n""\n""       -j/--junk-session-cookies\n""              (HTTP)  When  curl  is  told to read cookies from a\n""              given file, this option will make  it  discard  all\n""              \"session  cookies\". This will basicly have the same\n""              effect as if a  new  session  is  started.  Typical\n""              browsers   always   discard  session  cookies  when\n""              they're closed down. (Added in 7.9.7)\n""\n", stdout); fputs("              If this option is used several times,  each  occur-\n""              rence will toggle this on/off.\n""\n""       -k/--insecure\n""              (SSL) This option explicitly allows curl to perform\n""              \"insecure\" SSL connections and transfers.  Starting\n""              with   curl  7.10,  all  SSL  connections  will  be\n"

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -