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

📄 hugehelp.c

📁 harvest是一个下载html网页得机器人
💻 C
📖 第 1 页 / 共 5 页
字号:
"              mands are sent BEFORE the transfer is taking place.\n""              To  make  commands  take  place  after a successful\n""              transfer, prefix them with  a  dash  '-'.  You  may\n", stdout); fputs("              specify any amount of commands to be run before and\n""              after the transfer. If the server  returns  failure\n""              for  one of the commands, the entire operation will\n""              be aborted.\n""\n""              This option can be used multiple times.\n""\n""       --random-file <file>\n""              (HTTPS) Specify the path name  to  file  containing\n""              what will be considered as random data. The data is\n", stdout); fputs("              used to seed the random engine for SSL connections.\n""              See also the --edg-file option.\n""\n""       -r/--range <range>\n""              (HTTP/FTP)  Retrieve  a  byte  range (i.e a partial\n""              document) from a HTTP/1.1 or FTP server. Ranges can\n""\n""              be specified in a number of ways.\n""\n""              0-499     specifies the first 500 bytes\n""\n""              500-999   specifies the second 500 bytes\n""\n""              -500      specifies the last 500 bytes\n""\n", stdout); fputs("              9500      specifies  the bytes from offset 9500 and\n""                        forward\n""\n""              0-0,-1    specifies  the  first   and   last   byte\n""                        only(*)(H)\n""\n""              500-700,600-799\n""                        specifies 300 bytes from offset 500(H)\n""\n""              100-199,500-599\n""                        specifies    two   separate   100   bytes\n""                        ranges(*)(H)\n""\n""       (*) = NOTE that this will cause the server to reply with a\n", stdout); fputs("       multipart response!\n""\n""       You should also be aware that many HTTP/1.1 servers do not\n""       have this feature enabled, so that when you attempt to get\n""       a range, you'll instead get the whole document.\n""\n""       FTP range downloads only support the simple syntax 'start-\n""       stop' (optionally with one of  the  numbers  omitted).  It\n""       depends on the non-RFC command SIZE.\n""\n""       If this option is used several times, the last one will be\n""       used.\n""\n""       -R/--remote-time\n", stdout); fputs("              When used, this will make libcurl attempt to figure\n""              out  the  timestamp of the remote file, and if that\n""              is available make the  local  file  get  that  same\n""              timestamp.\n""\n""              If  this option is used twice, the second time dis-\n""              ables this again.\n""\n""       -s/--silent\n""              Silent mode. Don't show  progress  meter  or  error\n""              messages.  Makes Curl mute.\n""\n", stdout); fputs("              If this option is used twice, the second will again\n""              disable mute.\n""\n""       -S/--show-error\n""              When used with -s it makes curl show error  message\n""              if it fails.\n""\n""              If this option is used twice, the second will again\n""              disable show error.\n""\n""       --stderr <file>\n""              Redirect all writes to stderr to the specified file\n""              instead.  If  the  file  name is a plain '-', it is\n", stdout); fputs("              instead written to stdout. This option has no point\n""              when  you're  using a shell with decent redirecting\n""              capabilities.\n""\n""              If this option is used several times, the last  one\n""              will be used.\n""\n""       -t/--telnet-option <OPT=val>\n""              Pass  options  to  the  telnet  protocol. Supported\n""              options are:\n""\n""              TTYPE=<term> Sets the terminal type.\n""\n", stdout); fputs("              XDISPLOC=<X display> Sets the X display location.\n""\n""              NEW_ENV=<var,val> Sets an environment variable.\n""\n""       -T/--upload-file <file>\n""              This transfers the  specified  local  file  to  the\n""              remote  URL. If there is no file part in the speci-\n""              fied URL, Curl will append  the  local  file  name.\n""              NOTE  that  you  must  use a trailing / on the last\n""              directory to really prove to Curl that there is  no\n", stdout); fputs("              file  name or curl will think that your last direc-\n""              tory name is the remote file name to use. That will\n""              most  likely cause the upload operation to fail. If\n""              this is used on a http(s) server, the  PUT  command\n""              will be used.\n""\n""              Use  the file name \"-\" (a single dash) to use stdin\n""              instead of a given file.\n""\n""              Before 7.10.8, when this option  was  used  several\n", stdout); fputs("              times, the last one was used.\n""\n""              In  curl  7.10.8  and later, you can specify one -T\n""              for each URL on the command line.  Each  -T  +  URL\n""              pair  specifies  what  to upload and to where. curl\n""              also supports \"globbing\" of the -T argument,  mean-\n""              ing  that you can upload multiple files to a single\n""              URL by using the same URL globbing style  supported\n""              in the URL, like this:\n""\n", stdout); fputs("              curl    -T    \"{file1,file2}\"    http://www.upload-\n""              tothissite.com\n""\n""              or even\n""\n""              curl  -T   \"img[1-1000].png\"   ftp://ftp.picturema-\n""              nia.com/upload/\n""\n""       --trace <file>\n""              Enables  a full trace dump of all incoming and out-\n""              going data, including descriptive  information,  to\n""              the  given output file. Use \"-\" as filename to have\n""              the output sent to stdout.\n""\n", stdout); fputs("              If this option is used several times, the last  one\n""              will be used. (Added in 7.9.7)\n""\n""       --trace-ascii <file>\n""              Enables  a full trace dump of all incoming and out-\n""              going data, including descriptive  information,  to\n""              the  given output file. Use \"-\" as filename to have\n""              the output sent to stdout.\n""\n""              This is very similar to --trace, but leaves out the\n", stdout); fputs("              hex part and only shows the ASCII part of the dump.\n""              It makes smaller output that  might  be  easier  to\n""              read for untrained humans.\n""\n""              If  this option is used several times, the last one\n""              will be used. (Added in 7.9.7)\n""\n""       -u/--user <user:password>\n""              Specify user and password  to  use  when  fetching.\n""              Read the MANUAL for detailed examples of how to use\n", stdout); fputs("              this. If no password is specified,  curl  will  ask\n""              for it interactively.\n""\n""              You  can  also  use  the  --digest option to enable\n""              Digest authentication when communicating with  HTTP\n""              1.1 servers.\n""\n""              If  this option is used several times, the last one\n""              will be used.\n""\n""       -U/--proxy-user <user:password>\n""              Specify user and password to use for Proxy  authen-\n", stdout); fputs("              tication.  If  no  password is specified, curl will\n""              ask for it interactively.\n""\n""              If this option is used several times, the last  one\n""              will be used.\n""\n""       --url <URL>\n""              Specify a URL to fetch. This option is mostly handy\n""              when you want to specify URL(s) in a config file.\n""\n""              This option may be used any  number  of  times.  To\n""              control  where  this  URL is written, use the -o or\n", stdout); fputs("              the -O options.\n""\n""       -v/--verbose\n""              Makes the fetching more  verbose/talkative.  Mostly\n""              usable for debugging. Lines starting with '>' means\n""              data sent by curl, '<' means data received by  curl\n""              that  is  hidden in normal cases and lines starting\n""              with '*' means additional info provided by curl.\n""\n""              Note that if you want to see HTTP  headers  in  the\n", stdout); fputs("              output, -i/--include might be option you're looking\n""              for.\n""\n""              If you think this option  still  doesn't  give  you\n""              enough  details, consider using --trace or --trace-\n""              ascii instead.\n""\n""              If this option is used twice, the second will again\n""              disable verbose.\n""\n""       -V/--version\n""              Displays  information  about  curl  and the libcurl\n""              version it uses.\n""\n", stdout); fputs("              The first line includes the full version  of  curl,\n""              libcurl  and  other 3rd party libraries linked with\n""              the executable.\n""\n""              The second line (starts  with  \"Protocols:\")  shows\n""              all protocols that libcurl reports to support.\n""\n""              The third line (starts with \"Features:\") shows spe-\n""              cific features libcurl reports to offer.\n""\n""       -w/--write-out <format>\n", stdout); fputs("              Defines what to display after a completed and  suc-\n""              cessful  operation. The format is a string that may\n""              contain plain text mixed with any number  of  vari-\n""              ables.  The string can be specified as \"string\", to\n""              get read from a  particular  file  you  specify  it\n""              \"@filename\"  and  to  tell  curl to read the format\n""              from stdin you write \"@-\".\n""\n", stdout); fputs("              The variables present in the output format will  be\n""              substituted  by  the value or text that curl thinks\n""              fit, as described below. All variables  are  speci-\n""              fied like %{variable_name} and to output a normal %\n""              you just write them like %%. You can output a  new-\n""              line  by  using \\n, a carriage return with \\r and a\n""              tab space with \\t.\n""\n""              NOTE: The %-letter  is  a  special  letter  in  the\n", stdout); fputs("              win32-environment,  where all occurrences of % must\n""              be doubled when using this option.\n""\n""              Available variables are at this point:\n""\n""              url_effective  The URL that was fetched last.  This\n""                             is  mostly meaningful if you've told\n""                             curl to follow location: headers.\n""\n""              http_code      The numerical code that was found in\n""                             the last retrieved HTTP(S) page.\n""\n", stdout); fputs("              time_total     The total time, in seconds, that the\n""                             full operation lasted. The time will\n""                             be  displayed with millisecond reso-\n""                             lution.\n""\n""              time_namelookup\n""                             The time, in seconds, it  took  from\n""                             the  start  until the name resolving\n""                             was completed.\n""\n", stdout); fputs("              time_connect   The time, in seconds, it  took  from\n""                             the  start  until the connect to the\n""                             remote  host  (or  proxy)  was  com-\n""                             pleted.\n""\n""              time_pretransfer\n""                             The  time,  in seconds, it took from\n""                             the start until the file transfer is\n""                             just  about  to begin. This includes\n", stdout); fputs("                             all pre-transfer commands and  nego-\n""                             tiations  that  are  specific to the\n""                             particular protocol(s) involved.\n""\n""              time_starttransfer\n""                             The time, in seconds, it  took  from\n"

⌨️ 快捷键说明

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