CHANGES.0 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786
  1. Version 5.3a (win32 only)
  2. Troy Engel
  3. - Corrected a win32 bug in the environment variable part.
  4. Version 5.3
  5. Gilbert Ramirez Jr. (21 Dec 1998)
  6. - I have implemented the "quote" function of FTP clients. It allows you to
  7. send arbitrary commands to the remote FTP server. I chose the -Q/--quote
  8. command-line arguments.
  9. You can have more than one quoted string, and curl will apply them in
  10. order. This is what I use for my MVS upload:
  11. curl -B --crlf -Q "site lrecl=80" -Q "site blk=8000" -T file ftp://os390/test
  12. Curl will send the two quoted "site" commands in the proper order.
  13. - Made it compile smoothly on AIX.
  14. Gilbert Ramirez Jr. (18 Dec 1998)
  15. - Brought an MVS patch: -3/--mvs, for ftp upload to the MVS ftp server.
  16. Troy Engel (17 Dec 1998)
  17. - Brought a correction that fixes the win32 curl bug.
  18. Daniel Stenberg
  19. - A bug, pointed out to me by Dr H. T. Leung, caused curl to crash on the -A
  20. flag on certain systems. Actually, all systems should've!
  21. - Added a few defines to make directories/file names get build nicer (with _
  22. instead of . and \ instead of / in win32).
  23. - steve <fisk at polar.bowdoin.edu> reported a weird bug that occured if the
  24. ftp server response line had a parenthesis on the line before the (size)
  25. info. I hope it works better now!
  26. Version 5.2.1
  27. Steven G. Johnson (Dec 14, 1998)
  28. - Brought a fix that corrected a crash in 5.2 due to bad treatment of the
  29. environment variables.
  30. Version 5.2
  31. Daniel Stenberg (Dec 14, 1998)
  32. - Rewrote the mkhelp script and now, the mkhelp.pl script generates the
  33. hugehelp.c file from the README *and* the man page file curl.1. By using
  34. both files, I no longer need to have double information in both the man
  35. page and the README as well. So, win32-users will only have the hugehelp.c
  36. file for all info, but then, they download the plain binary most times
  37. anyway.
  38. - gcc2.8.1 with the -Wall flag complaints a lot on subscript has type `char'
  39. if I don't explicitly typecast the argument to isdigit() or isspace() to
  40. int. So I did to compile warning free with that too.
  41. - Added checks for 'long double' and 'long long' in the configure script. I
  42. need those for the mprintf.c source to compile well on non long long
  43. comforming systems!
  44. Version 5.1 (not publicly released)
  45. Daniel Stenberg (Dec 10, 1998)
  46. - I got a request for a pre-compiled NT Alpha version. Anyone?
  47. - Added Lynx/CERN www lib proxy environment variable support. That means curl
  48. now reads and understands the following environment variables:
  49. HTTP_PROXY, HTTPS_PROXY, FTP_PROXY, GOPHER_PROXY
  50. They should be set for protocol-specific proxies. General proxy should be
  51. set with
  52. ALL_PROXY
  53. And a comma-separated list of host names that shouldn't go through any
  54. proxy is set in (only an asterisk, '*' matches all hosts).
  55. NO_PROXY
  56. The usage of the -x/--proxy flag overrides the environment variables.
  57. - Proxy can now be specified with a procotol:// prefix.
  58. - Wrote the curl.1 man page.
  59. - Introduced a whole new dynamic buffer system for all sprintf()s. It is
  60. based on the *printf() package by yours truly and Bjorn Reese. Hopefully,
  61. there aren't that many buffer overflow risks left now.
  62. - Ah, I should mention I've compiled and built curl successfully under
  63. solaris 2.6 with gcc now, gcc 2.7.2 won't work but 2.8.1 did ok.
  64. Oren Tirosh (Dec 3, 1998)
  65. - Brought two .spec files, to use when creating (Linux) Redhat style RPM
  66. packages. They're named curl.spec and curl-ssl.spec.
  67. Troy Engel
  68. - Supplied the src/Makefile.vc6 for easy compiling with VC++ under Win32.
  69. Version 5.0
  70. Daniel Stenberg (Dec 1, 1998)
  71. - Not a single bug report in ages.
  72. - Corrected getpass.c and main.c to compile warning and error free with the
  73. Win32 VC++ crap.
  74. Version 5.0 beta 24
  75. Daniel Stenberg (Nov 20, 1998)
  76. HOW TO BUILD A RELEASE ARCHIVE:
  77. * Pre-requisite software:
  78. What To build what Reads data from
  79. ==== ============= ===============
  80. GNU automake Makefile.in, aclocal.m4 configure.in
  81. GNU make(1) - " -
  82. GNU gcc(1) - " -
  83. GNU autoconf configure configure.in
  84. GNU autoheader(2) config.h.in configure.in, acconfig.h
  85. * Make sure all files that should be part of the archive are put in FILES.
  86. * Run './maketgz' and enter version number of the new to become archive.
  87. maketgz does:
  88. - Enters the newly created version number in url.h.
  89. - (If you don't have automake, this script will warn about that, but unless
  90. you have changed the Makefile.am files, that is nothing to care about.)
  91. If you have it, it'll run it.
  92. - If you have autoconf, the configure.in will be edited to get the newly
  93. created version number and autoconf will be run.
  94. - Creates a new directory named curl-<version>. (Actually, it uses the base
  95. name of the current directory up to the first '-'.)
  96. - Copies all files mentioned in FILES to the new directory. Saving
  97. permissions and directory structure.
  98. - Uses tar to create an archive of it all, named curl-<version>.tar.gz
  99. - gzips the archive
  100. - Removes the new directory and all its contents.
  101. * When done, you have an archive stored in your directory named
  102. curl-<version>.tar.gz.
  103. Done!
  104. (1) They're required to make automake run properly.
  105. (2) It is distributed as a part of the GNU autoconf archive.
  106. Daniel Stenberg (Nov 18, 1998)
  107. - I changed the TAG-system. If you ever used urlget() from this package in
  108. another product, you need to recompile with the new headers. I did this
  109. new stuff to better deal with different compilers and system with different
  110. variable sizes. I think it makes it a little more portable. This proves
  111. to compile warning free with the problematic IRIX compiler!
  112. - Win32 compiled with a silly error. Corrected now.
  113. - Brian Chaplin reported yet another problem in
  114. multiline FTP responses. I've tried to correct it. I mailed him a new
  115. version and I hope he gets back soon with positive feedback!
  116. - Improved the 'maketgz' to create a temporary directory tree which it makes
  117. an archive from instead of the previous renaming of the current one.
  118. - Mailing list opened (see README).
  119. - Made -v more verbose on the PASV section of ftp transfers. Now it tells
  120. host name and IP of the new host (and port number). I also added a section
  121. about PORT vs PASV in the README.
  122. Version 5.0 beta 21
  123. Angus Mackay (Nov 15, 1998)
  124. - Introduced automake stuff.
  125. Daniel Stenberg (Nov 13, 1998)
  126. - Just made a successful GET of a document from an SSL-server using my own
  127. private certificate for authentication! The certificate has to be in PEM
  128. format. You do that the easiest way (although not *that* easy) by
  129. downloading the SSLyeay PKCS#12-patch by Dr Stephen N. Henson from his site
  130. at: http://www.drh-consultancy.demon.co.uk/. Using his tool, you can
  131. convert any modern Netscape or (even) MSIE certificate to PEM-format. Use
  132. it with 'curl -E <certificate:password> https://site.com'. If this isn't a
  133. cool feature, then I don't know what cool features look like! ;-)
  134. - Working slowly on telnet connections. #define TRY_TELNET to try it out.
  135. (curl -u user:passwd "telnet://host.com/cat .login" is one example) I do
  136. have problem to define how it should work. The prime purpose for this must
  137. be to get (8bit clean) files via telnet, and it really isn't that easy to
  138. get files this way. Still having problems with \n being converted to \r\n.
  139. Angus Mackay (Nov 12, 1998)
  140. - Corrected another bug in the long parameter name parser.
  141. - Modified getpass.c (NOTE: see the special licensing in the top of that
  142. source file).
  143. Daniel Stenberg (Nov 12, 1998)
  144. - We may have removed the silly warnings from url.c when compiled under IRIX.
  145. Thanks again to Bjorn Reese and Martin Staael.
  146. - Wrote formfind.pl which is a new perl script intended to help you find out
  147. how a FORM submission should be done. This needs a little more work to get
  148. really good.
  149. Daniel Stenberg (Nov 11, 1998)
  150. - Made the HTTP header-checker accept white spaces before the HTTP/1.? line.
  151. Appearantly some proxies/sites add such at times (my test proxy did when I
  152. downloaded a gopher page with it)!
  153. - Moved the former -h to -M and made -h show the short help text instead. I
  154. had to enable a forced help text option. Now an even shorter help text will
  155. be presented when an unknown option and similar, is used.
  156. - stdcheaders.h didn't work with IRIX 6.4 native cc compiler. I hope my
  157. changes don't make other versions go nuts instead.
  158. Daniel Stenberg (Nov 10, 1998)
  159. - Added a weird check in the configure script to check for the silly AIX
  160. warnings about my #define strcasecmp() stuff. I do that define to prevent
  161. me and other contributors to accidentaly use that function name instead
  162. of strequal()...
  163. - I bugfixed Angus's getpass.c very little.
  164. - Fixed the verbose flag names to getopt-style, i.e 'curl --loc' will be
  165. sufficient instead of --location as "loc" is a unique prefix. Also, anything
  166. after a '--' is treated as an URL. So if you do have a host with a weeeird
  167. name you can do 'curl -- -host.com'.
  168. - Another getopt-adjust; curl now accepts flags after the URL on the command
  169. line. 'curl www.foo.com -O' is perfectly valid.
  170. - Corrected the .curlrc parser so that strtok() is no longer used and I
  171. believe it works better. Even URLs can be specified in it now.
  172. Angus Mackay (Nov 9, 1998)
  173. - Replaced getpass.c with a newly written one, not under GPL license
  174. - Changed OS to a #define in config.h instead of compiler flag
  175. - Makefile now uses -DHAVE_CONFIG_H
  176. Daniel Stenberg (Nov 9, 1998)
  177. - Ok, I expanded the tgz-target to update the version string on each occation
  178. I build a release archive!
  179. - I reacted on Angus Mackay's initiative and remade the parameter parser to
  180. be more getopt compliant. Curl now supports "merged" flags as in
  181. curl -lsv ftp.site.com
  182. Do note that I had to move three short-names of the options. Parameters
  183. that needs an additional string such as -x must be stand-alone or the
  184. last in a merged sequence:
  185. curl -lsx my-proxy ftp.site.com
  186. is ok, but using the flags in a different order like '-lxs' would cause
  187. unexpected results (as the 's' option would be skipped).
  188. - I've changed the headers in all files that are subject to the MozPL
  189. license, as they are supposed to look like when conforming.
  190. - Made the configure script make the config.h. The former config.h is now
  191. setup.h.
  192. - The RESOURCES and TODO files have been added to the archive.
  193. Angus Mackay (Nov 5, 1998)
  194. - Fixed getpass.c and various configure stuff
  195. Daniel Stenberg (Nov 3, 1998)
  196. - Use -H/--header for custom HTTP-headers. Lets you pass on your own
  197. specified headers to the remote server. I wouldn't recommend trying to use
  198. a header with a defined usage according to standards. Use this flag once
  199. for every custom header you want to add.
  200. - Use -B/--ftp-ascii to force ftp to use ASCII mode when transfering files.
  201. - Corrected the 'getlinks.pl' script, I accidentally left my silly proxy
  202. usage in there! Since the introduction of the .curlrc file, it is easier to
  203. write scripts that use curl since proxies and stuff should be in the
  204. .curlrc file anyway.
  205. - Introducing the new -F flag for HTTP POST. It supports multipart/form-data
  206. which means it is gonna be possible to upload files etc through HTTP POST.
  207. Shiraz Kanga asked for the feature and my brother,
  208. Björn Stenberg helped me design the user
  209. interface for this beast. This feature requires quite some docs,
  210. since it has turned out not only quite capable, but also complicated! :-)
  211. - A note here, since I've received mail about it. SSLeay versions prior to
  212. 0.8 will *not* work with curl!
  213. - Wil Langford reported a bug that occurred since curl
  214. did not properly use CRLF when issuing ftp commands. I fixed it.
  215. - Rearranged the order config files are read. .curlrc is now *always* read
  216. first and before the command line flags. -K config files then act as
  217. additional config items.
  218. - Use -q AS THE FIRST OPTION specified to prevent .curlrc from being read.
  219. - You can now disable a proxy by using -x "". Useful if the .curlrc file
  220. specifies a proxy and you wanna fetch something without going through
  221. that.
  222. - I'm thinking of dropping the -p support. Its really not useful since ports
  223. could (and should?) be specified as :<port> appended on the host name
  224. instead, both in URLs and to proxy host names.
  225. - Martin Staael reports curl -L bugs under Windows NT
  226. (test with URL http://come.to/scsde). This bug is not present in this
  227. version anymore.
  228. - Added support for the weird FTP URL type= thing. You can download a file
  229. using ASCII transfer by appending ";type=A" to the right of it. Other
  230. available types are type=D for dir-list (NLST) and type=I for binary
  231. transfer. I can't say I've ever seen anyone use this kind of URL though!
  232. :-)
  233. - Troy Engel pointed out a bug in my getenv("HOME")
  234. usage for win32 systems. I introduce getenv.c to better cope with
  235. this. Mr Engel helps me with the details around that...
  236. - A little note to myself and others, I should make the win32-binary built
  237. with SSL support...
  238. - Ryan Nelson sent me comments about building curl
  239. with SSL under FreeBSD. See the Makefile for details. Using the configure
  240. script, it should work better and automatically now...
  241. - Cleaned up in the port number mess in the source. No longer stores and uses
  242. proxy port number separate from normal port number.
  243. - 'configure' script working. Confirmed compiles on:
  244. Host SSL Compiler
  245. SunOS 5.5 no gcc
  246. SunOS 5.5.1 yes gcc
  247. SunOS 5.6 no cc (with gcc, it has the "gcc include files" problem)
  248. SunOS 4.1.3 no gcc (without ANSI C headers)
  249. SunOS 4.1.2 no gcc (native compiler failed)
  250. Linux 2.0.18 no gcc
  251. Linux 2.0.32 yes gcc
  252. Linux 2.0.35 no gcc (with glibc)
  253. IRIX 6.2 no gcc (cc compiles generate a few warnings)
  254. IRIX 6.4 no cc (generated warnings though)
  255. Win32 no Borland
  256. OSF4.0 no ?
  257. - Ooops. The 5beta (and 4.10) under win32 failed if the HOME variable wasn't
  258. set.
  259. - When using a proxy, curl now guesses and uses the protocol part in cases
  260. like:
  261. curl -x proxy:80 www.site.com
  262. Proxies normally go nuts unless http:// is prepended to the host name, so
  263. if curl is used like this, it guesses protocol and appends the protocol
  264. string before passing it to the proxy. It already did this when used
  265. without proxy.
  266. - Better port usage with SSL through proxy now. If you specified a different
  267. https-port when accessing through a proxy, it didn't use that number
  268. correctly. I also rewrote the code that parses the stuff read from the
  269. proxy when you wanna connect through it with SSL.
  270. - Bjorn Reese helped me work around one of the compiler
  271. warnings on IRIX native cc compiles.
  272. Version 4.10 (Oct 26, 1998)
  273. Daniel Stenberg
  274. - John A. Bristor suggested a config file switch,
  275. and since I've been having that idea kind of in the background for a long
  276. time I rewrote the parameter parsing function a little and now I introduce
  277. the -K/--config flag. I also made curl *always* (unless -K is used) try to
  278. load the .curlrc file for command line parameters. The syntax for the
  279. config file is the standard command line argument style. Details in 'curl
  280. -h' or the README.
  281. - I removed the -k option. Keep-alive isn't really anything anyone would
  282. want to enable with curl anyway.
  283. - Martin Staael helped me add the 'irix' target. Now
  284. "make irix" should build curl successfully on non-gcc SGI machines.
  285. - Single switches now toggle behaviours. I.e if you use -v -v the second
  286. will switch off the verbose mode the first one enabled. This is so that
  287. you can disable a default setting a .curlrc file enables etc.
  288. Version 4.9 (Oct 7, 1998)
  289. Daniel Stenberg
  290. - Martin Staael suggested curl would support cookies.
  291. I added -b/--cookie to enable free-text cookie data to be passed. There's
  292. also a little blurb about general cookie stuff in the README/help text.
  293. - dmh <dmh at jet.es> suggested HTTP resume capabilities. Although you could
  294. manually get curl to resume HTTP documents, I made the -c resume flag work
  295. for HTTP too (unless -r is used too, which would be very odd anyway).
  296. - Added checklinks.pl to the archive. It is a still experimental perl script
  297. that checks all links of a web page by using curl.
  298. - Rearranged the archive hierarchy a little. Build the executable in the
  299. src/ dir from now on!
  300. - Version 4.9 and hereafter, is no longer released under the GPL license.
  301. I have now updated the LEGAL file etc and now this is released using the
  302. Mozilla Public License to avoid the plague known as "the GPL virus". You
  303. must make the source available if you decide to change and/or redistribute
  304. curl, but if you decide to use curl within something else you do not need
  305. to offer the world the source to that too.
  306. - Curl did not like HTTP servers that sent no headers at all on a GET
  307. request. It is a violation of RFC2068 but appearantly some servers do
  308. that anyway. Thanks to Gordon Beaton for the report!
  309. - -L/--location was added after a suggestion from Martin Staael. This makes
  310. curl ATTEMPT to follow the Location: redirect if one is present in the HTTP
  311. headers. If -i or -I is used with this flag, you will see headers from all
  312. sites the Location: points to. Do note that the first server can point to a
  313. second that points to a third etc. It seems the Location: parameter (said
  314. to be an AbsoluteURI in RFC2068) isn't always absolute.. :-/ Anyway, I've
  315. made curl ATTEMPT to do the best it can to deal with the reality.
  316. - Added getlinks.pl to the archive. getlinks.pl selectively downloads
  317. files that a web page links to.
  318. Version 4.8.4
  319. Daniel Stenberg
  320. - As Julian Romero Nieto reported, curl reported wrong version number.
  321. - As Teemu Yli-Elsila pointed out, the win32 version of 4.8 (and probably all
  322. other versions for win32) didn't work with binary files since I'm too used
  323. to the UNIX style fopen() where binary and text don't differ...
  324. - Ralph Beckmann brought me some changes that lets curl compile error and
  325. warning free with -Wall -pedantic with g++. I also took the opportunity to
  326. clean off some unused variables and similar.
  327. - Ralph Beckmann made me aware of a really odd bug now corrected. When curl
  328. read a set of headers from a HTTP server, divided into more than one read
  329. and the first read showed a full line *exactly* (i.e ending with a
  330. newline), curl did not behave well.
  331. Version 4.8.3
  332. Daniel Stenberg
  333. - I was too quick to release 4.8.2 with too little testing. One of the
  334. changes is now reverted slightly to the 4.8.1 way since 4.8.2 couldn't
  335. upload files. I still think both problems corrected in 4.8.2 remain
  336. corrected. Reported by Julian Romero Nieto.
  337. Version 4.8.2
  338. Daniel Stenberg
  339. - Bernhard Iselborn reported two FTP protocol errors curl did. They're now
  340. corrected. Both appeared when getting files from a MS FTP server! :-)
  341. Version 4.8.1
  342. Daniel Stenberg
  343. - Added a last update of the progress meter when the transfer is done. The
  344. final output on the screen didn't have to be the final size transfered
  345. which made it sometimes look odd.
  346. - Thanks to David Long I got rid of a silly bug that happened if a HTTP-page
  347. had nothing but header. Appearantly Solaris deals with negative sizes in
  348. fwrite() calls a lot better than Linux does... =B-]
  349. Version 4.8
  350. Daniel Stenberg
  351. - Continue FTP file transfer. -c is the switch. Note that you need to
  352. specify a file name if you wanna resume a download (you can't resume a
  353. download sent to stdout). Resuming upload may be limited by the server
  354. since curl is then using the non-RFC959 command SIZE to get the size of
  355. the target file before upload begins (to figure out which offset to
  356. use). Use -C to specify the offset yourself! -C is handy if you're doing
  357. the output to something else but a plain file or when you just want to get
  358. the end of a file.
  359. - recursiveftpget.pl now features a maximum recursive level argument.
  360. Version 4.7
  361. Daniel Stenberg
  362. - Added support to abort a download if the speed is below a certain amount
  363. (speed-limit) bytes per second for a certain (speed-time) time.
  364. - Wrote a perl script 'recursiveftpget.pl' to recursively use curl to get a
  365. whole ftp directory tree. It is meant as an example of how curl can be
  366. used. I agree it isn't the wisest thing to do to make a separate new
  367. connection for each file and directory for this.
  368. Version 4.6
  369. Daniel Stenberg
  370. - Added a first attempt to optionally parse the .netrc file for login user
  371. and password. If used with http, it enables user authentication. -n is
  372. the new switch.
  373. - Removed the extra newlines on the default user-agent string.
  374. - Corrected the missing ftp upload error messages when it failed without the
  375. verbose flag set. Gary W. Swearingen found it.
  376. - Now using alarm() to enable second-precision timeout even on the name
  377. resolving/connecting phase. The timeout is although reset after that first
  378. sequence. (This should be corrected.) Gary W. Swearingen reported.
  379. - Now spells "Unknown" properly, as in "Unknown option 'z'"... :-)
  380. - Added bug report email address in the README.
  381. - Added a "current speed" field to the progress meter. It shows the average
  382. speed the last 5 seconds. The other speed field shows the average speed of
  383. the entire transfer so far.
  384. Version 4.5.1
  385. Linas Vepstas
  386. - SSL through proxy fix
  387. - Added -A to allow User-Agent: changes
  388. Daniel Stenberg
  389. - Made the -A work when SSL-through-proxy.
  390. Version 4.5
  391. Linas Vepstas
  392. - More SSL corrections
  393. - I've added a port to AIX.
  394. - running SSL through a proxy causes a chunk of code to be executred twice.
  395. one of those blocks needs to be deleted.
  396. Daniel Stenberg
  397. - Made -i and -I work again
  398. Version 4.4
  399. Linas Vepstas
  400. - -x can now also specify proxyport when used as in 'proxyhost:proxyport'
  401. - SSL fixes
  402. Version 4.3
  403. Daniel Stenberg
  404. - Adjusted to compile under win32 (VisualC++ 5). The -P switch does not
  405. support network interface names in win32. I couldn't figure out how!
  406. Version 4.2
  407. Linas Vepstas / Sampo Kellomaki
  408. - Added SSL / SSLeay support (https://)
  409. - Added the -T usage for HTTP POST.
  410. Daniel Stenberg
  411. - Bugfixed the SSL implementation.
  412. - Made -P a lot better to use other IP addresses. It now accepts a following
  413. parameter that can be either
  414. interface - i.e "eth0" to specify which interface's IP address you
  415. want to use
  416. IP address - i.e "192.168.10.1" to specify exact IP number
  417. host name - i.e "my.host.domain" to specify machine
  418. "-" - (any single-letter string) to make it pick the machine's
  419. default
  420. - The Makefile is now ready to compile for solaris, sunos4 and linux right
  421. out of the box.
  422. - Better generated version string seen with 'curl -V'
  423. Version 4.1
  424. Daniel Stenberg
  425. - The IP number returned by the ftp server as a reply to PASV does no longer
  426. have to DNS resolve. In fact, no IP-number-only addresses have to anymore.
  427. - Binds better to available port when -P is used.
  428. - Now LISTs ./ instead of / when used as in ftp://ftp.funet.fi/. The reason
  429. for this is that exactly that site, ftp.funet.fi, does not allow LIST /
  430. while LIST ./ is fine. Any objections?
  431. Version 4 (1998-03-20)
  432. Daniel Stenberg
  433. - I took another huge step and changed both version number and project name!
  434. The reason for the new name is that there are just one too many programs
  435. named urlget already and this program already can a lot more than merely
  436. getting URLs, and the reason for the version number is that I did add the
  437. pretty big change in -P and since I changed name I wanted to start with
  438. something fresh!
  439. - The --style flags are working better now.
  440. - Listing directories with FTP often reported that the file transfer was
  441. incomplete. Wrong assumptions were too common for directories, why no
  442. size will be attempted to get compared on them from now on.
  443. - Implemented the -P flag that let's the ftp control issue a PORT command
  444. instead of the standard PASV.
  445. - -a for appending FTP uploads works.
  446. ***************************************************************************
  447. Version 3.12 (14 March 1998)
  448. Daniel Stenberg
  449. - End-of-header tracking still lacked support for \r\n or just \n at the
  450. end of the last header line.
  451. Sergio Barresi
  452. - Added PROXY authentication.
  453. Rafael Sagula
  454. - Fixed some little bugs.
  455. Version 3.11
  456. Daniel Stenberg
  457. - The header parsing was still not correct since the 3.2 modification...
  458. Version 3.10
  459. Daniel Stenberg
  460. - 3.7 and 3.9 were simultaneously developed and merged into this version.
  461. - FTP upload did not work correctly since 3.2.
  462. Version 3.9
  463. Rafael Sagula
  464. - Added the "-e <url> / --referer <url>" option where we can specify
  465. the referer page. Obviously, this is necessary only to fool the
  466. server, but...
  467. Version 3.7
  468. Daniel Stenberg
  469. - Now checks the last error code sent from the ftp server after a file has
  470. been received or uploaded. Wasn't done previously.
  471. - When 'urlget <host>' is used without a 'protocol://' first in the host part,
  472. it now checks for host names starting with ftp or gopher and if it does,
  473. it uses that protocol by default instead of http.
  474. Version 3.6
  475. Daniel Stenberg
  476. - Silly mistake made the POST bug. This has now also been tested to work with
  477. proxy.
  478. Version 3.5
  479. Daniel Stenberg
  480. - Highly inspired by Rafael Sagula's changes to the 3.1 that added an almost
  481. functional POST, I applied his changes into this version and made them work.
  482. (It seems POST requires the Content-Type and Content-Length headers.) It is
  483. now usable with the -d switch.
  484. Version 3.3 - 3.4
  485. Passed to avoid confusions
  486. Version 3.2
  487. Daniel Stenberg
  488. - Major rewrite of two crucial parts of this code: upload and download.
  489. They are both now using a select() switch, that allows much better
  490. progress meter and time control.
  491. - alarm() usage removed completely
  492. - FTP get can now list directory contents if the path ends with a slash '/'.
  493. Urlget on a ftp-path that doesn't end with a slash means urlget will
  494. attempt getting it as a file name.
  495. - FTP directory view supports -l for "list-only" which lists the file names
  496. only.
  497. - All operations support -m for max time usage in seconds allowed.
  498. - FTP upload now allows the size of the uploaded file to be provided, and
  499. thus it can better check it actually uploaded the whole file. It also
  500. makes the progress meter for uploads much better!
  501. - Made the parameter parsing fail in cases like 'urlget -r 900' which
  502. previously tried to connect to the host named '900'.
  503. Version 3.1
  504. Kjell Ericson
  505. - Pointed out how to correct the 3 warnings in win32-compiles.
  506. Daniel Stenberg
  507. - Removed all calls to exit().
  508. - Made the short help text get written to stdout instead of stderr.
  509. - Made this file instead of keeping these comments in the source.
  510. - Made two callback hooks, that enable external programs to use urlget()
  511. easier and to grab the output/offer the input easier.
  512. - It is evident that Win32-compiles are painful. I watched the output from
  513. the Borland C++ v5 and it was awful. Just ignore all those warnings.
  514. Version 3.0
  515. Daniel Stenberg
  516. - Added FTP upload capabilities. The name urlget gets a bit silly now
  517. when we can put too... =)
  518. - Restructured the source quite a lot.
  519. Changed the urlget() interface. This way, we will survive changes much
  520. better. New features can come and old can be removed without us needing
  521. to change the interface. I've written a small explanation in urlget.h
  522. that explains it.
  523. - New flags include -t, -T, -O and -h. The -h text is generated by the new
  524. mkhelp script.
  525. Version 2.9
  526. Remco van Hooff
  527. - Added a fix to make it compile smoothly on Amiga using the SAS/C
  528. compiler.
  529. Daniel Stenberg
  530. - Believe it or not, but the STUPID Novell web server seems to require
  531. that the Host: keyword is used, so well I use it and I (re-introduce) the
  532. urlget User-Agent:. I still have to check that this Host: usage works with
  533. proxies... 'Host:' is required for HTTP/1.1 GET according to RFC2068.
  534. Version 2.8
  535. Rafael Sagula
  536. - some little modifications
  537. Version 2.7
  538. Daniel Stenberg
  539. - Removed the -l option and introduced the -f option instead. Now I'll
  540. rewrite the former -l kludge in an external script that'll use urlget to
  541. fetch multipart files like that.
  542. - '-f' is introduced, it means Fail without output in case of HTTP server
  543. errors (return code >=300).
  544. - Added support for -r, ranges. Specify which part of a document you
  545. want, and only that part is returned. Only with HTTP/1.1-servers.
  546. - Split up the source in 3 parts. Now all pure URL functions are in
  547. urlget.c and stuff that deals with the stand-alone program is in main.c.
  548. - I took a few minutes and wrote an embryo of a README file to explain
  549. a few things.
  550. Version 2.6
  551. Daniel Stenberg
  552. - Made the -l (loop) thing use the new CONF_FAILONERROR which makes
  553. urlget() return error code if non-successful. It also won't output anything
  554. then. Now finally removed the HTTP 1.0 and error 404 dependencies.
  555. - Added -I which uses the HEAD request to get the header only from a
  556. http-server.
  557. Version 2.5
  558. Rafael Sagula
  559. - Made the progress meter use HHH:MM:SS instead of only seconds.
  560. Version 2.4
  561. Daniel Stenberg
  562. - Added progress meter. It appears when downloading > BUFFER SIZE and
  563. mute is not selected. I found out that when downloading large files from
  564. really really slow sites, it is desirable to know the status of the
  565. download. Do note that some downloads are done unawaring of the size, which
  566. makes the progress meter less thrilling ;) If the output is sent to a tty,
  567. the progress meter is shut off.
  568. - Increased buffer size used for reading.
  569. - Added length checks in the user+passwd parsing.
  570. - Made it grok user+passwd for HTTP fetches. The trick is to base64
  571. encode the user+passwd and send an extra header line. Read chapter 11.1 in
  572. RFC2068 for details. I added it to be used just like the ftp one. To get a
  573. http document from a place that requires user and password, use an URL
  574. like:
  575. http://user:passwd@www.site.to.leach/doc.html
  576. I also added the -u flag, since WHEN USING A PROXY YOU CAN'T SPECIFY THE
  577. USER AND PASSWORD WITH HTTP LIKE THAT. The -u flag works for ftp too, but
  578. not if used with proxy. To do the same as the above one, you can invoke:
  579. urlget -u user:passwd http://www.site.to.leach/doc.html
  580. Version 2.3
  581. Rafael Sagula
  582. - Added "-o" option (output file)
  583. - Added URG_HTTP_NOT_FOUND return code.
  584. (Daniel's note:)
  585. Perhaps we should detect all kinds of errors and instead of writing that
  586. custom string for the particular 404-error, use the error text we actually
  587. get from the server. See further details in RFC2068 (HTTP 1.1
  588. definition). The current way also relies on a HTTP/1.0 reply, which newer
  589. servers might not do.
  590. - Looping mode ("-l" option). It's easier to get various split files.
  591. (Daniel's note:)
  592. Use it like 'urlget -l 1 http://from.this.site/file%d.html', which will
  593. make urlget to attempt to fetch all files named file1.html, file2.html etc
  594. until no more files are found. This is only a modification of the
  595. STAND_ALONE part, nothing in the urlget() function was modfified for this.
  596. Daniel Stenberg
  597. - Changed the -h to be -i instead. -h should be preserved to help use.
  598. - Bjorn Reese indicated that Borland _might_ use '_WIN32' instead of the
  599. VC++ WIN32 define and therefore I added a little fix for that.
  600. Version 2.2
  601. Johan Andersson
  602. - The urlget function didn't set the path to url when using proxy.
  603. - Fixed bug with IMC proxy. Now using (almost) complete GET command.
  604. Daniel Stenberg
  605. - Made it compile on Solaris. Had to reorganize the includes a bit.
  606. (so Win32, Linux, SunOS 4 and Solaris 2 compile fine.)
  607. - Made Johan's keepalive keyword optional with the -k flag (since it
  608. makes a lot of urlgets take a lot longer time).
  609. - Made a '-h' switch in case you want the HTTP-header in the output.
  610. Version 2.1
  611. Daniel Stenberg and Kjell Ericson
  612. - Win32-compilable
  613. - No more global variables
  614. - Mute option (no output at all to stderr)
  615. - Full range of return codes from urlget(), which is now written to be a
  616. function for easy-to-use in [other] programs.
  617. - Define STAND_ALONE to compile the stand alone urlget program
  618. - Now compiles with gcc options -ansi -Wall -pedantic ;)
  619. Version 2.0
  620. - Introducing ftp GET support. The FTP URL type is recognized and used.
  621. - Renamed the project to 'urlget'.
  622. - Supports the user+passwd in the FTP URL (otherwise it tries anonymous
  623. login with a weird email address as password).
  624. Version 1.5
  625. Daniel Stenberg
  626. - The skip_header() crap messed it up big-time. By simply removing that
  627. one we can all of a sudden download anything ;)
  628. - No longer requires a trailing slash on the URLs.
  629. - If the given URL isn't prefixed with 'http://', HTTP is assumed and
  630. given a try!
  631. - 'void main()' is history.
  632. Version 1.4
  633. Daniel Stenberg
  634. - The gopher source used the ppath variable instead of path which could
  635. lead to disaster.
  636. Version 1.3
  637. Daniel Stenberg
  638. - Well, I added a lame text about the time it took to get the data. I also
  639. fought against Johan to prevent his -f option (to specify a file name
  640. that should be written instead of stdout)! =)
  641. - Made it write 'connection refused' for that particular connect()
  642. problem.
  643. - Renumbered the version. Let's not make silly 1.0.X versions, this is
  644. a plain 1.3 instead.
  645. Version 1.2
  646. Johan Andersson
  647. - Discovered and fixed the problem with getting binary files. puts() is
  648. now replaced with fwrite(). (Daniel's note: this also fixed the buffer
  649. overwrite problem I found in the previous version.)
  650. Rafael Sagula
  651. - Let "-p" before "-x".
  652. Daniel Stenberg
  653. - Bugfixed the proxy usage. It should *NOT* use nor strip the port number
  654. from the URL but simply pass that information to the proxy. This also
  655. made the user/password fields possible to use in proxy [ftp-] URLs.
  656. (like in ftp://user:password@ftp.my.site:8021/README)
  657. Johan Andersson
  658. - Implemented HTTP proxy support.
  659. - Receive byte counter added.
  660. Bjorn Reese
  661. - Implemented URLs (and skipped the old syntax).
  662. - Output is written to stdout, so to achieve the above example, do:
  663. httpget http://143.54.10.6/info_logo.gif > test.gif
  664. Version 1.1
  665. Daniel Stenberg
  666. - Adjusted it slightly to accept named hosts on the command line. We
  667. wouldn't wanna use IP numbers for the rest of our lifes, would we?
  668. Version 1.0
  669. Rafael Sagula
  670. - Wrote the initial httpget, which started all this!