1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

ftp@example.com is now the new anonymous FTP password. I opted for 'ftp' on

the left side of @ to make it short(er).
This commit is contained in:
Daniel Stenberg 2007-02-13 22:50:16 +00:00
parent e021fe9444
commit 4efa0d9f68
86 changed files with 94 additions and 90 deletions

View File

@ -7,6 +7,9 @@
Changelog
Daniel (13 February 2007)
- The default password for anonymous FTP connections is now changed to be
"ftp@example.com".
- Robert A. Monat made libcurl build fine with VC2005 - it doesn't have
gmtime_r() like the older VC versions. He also made use of some machine-
specific defines to differentiate the "OS" define.

View File

@ -11,16 +11,17 @@ Curl and libcurl 7.16.2
This release includes the following changes:
o Added CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS
o Added CURLOPT_HTTP_CONTENT_DECODING, CURLOPT_HTTP_TRANSFER_DECODING and
o added CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS
o added CURLOPT_HTTP_CONTENT_DECODING, CURLOPT_HTTP_TRANSFER_DECODING and
--raw
o Added support for using the NSS library for TLS/SSL
o added support for using the NSS library for TLS/SSL
o changed default anonymous FTP password
This release includes the following bugfixes:
o in testsuite, update test cookies expiration from 2007-Feb-1 to year 2035
o socks5 works
o
o builds fine with VC2005
This release includes the following known bugs:
@ -38,6 +39,6 @@ This release would not have looked like this without help, code, reports and
advice from friends like these:
Yang Tse, Manfred Schwarb, Michael Wallner, Jeff Pohlmeyer, Shmulik Regev,
Rob Crittenden
Rob Crittenden, Robert A. Monat
Thanks! (and sorry if I forgot to mention someone)

View File

@ -45,7 +45,7 @@
#define DICT_DEFINE3 "/LOOKUP:"
#define CURL_DEFAULT_USER "anonymous"
#define CURL_DEFAULT_PASSWORD "curl_by_daniel@haxx.se"
#define CURL_DEFAULT_PASSWORD "ftp@example.com"
#include "cookie.h"
#include "formdata.h"

View File

@ -48,7 +48,7 @@ filter off really nothing
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE A

View File

@ -48,7 +48,7 @@ ftp://%HOSTIP:%FTPPORT/ -P %HOSTIP
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
PORT 127,0,0,1,243,212
TYPE A

View File

@ -39,7 +39,7 @@ REPLY EPSV 500 no such command
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
PASV

View File

@ -40,7 +40,7 @@ s/^(PORT 127,0,0,1,)([0-9,]+)/$1/
</strippart>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD a
CWD path

View File

@ -29,7 +29,7 @@ ftp://%HOSTIP:%FTPPORT/a/path/103 --head
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD a
CWD path

View File

@ -36,7 +36,7 @@ FTP GET with type=A style ASCII URL using %20 codes
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD /path with spaces
CWD and things2

View File

@ -40,7 +40,7 @@ works
</upload>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -38,7 +38,7 @@ Moooooooooooo
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD CWD
CWD STOR

View File

@ -35,7 +35,7 @@ Moooooooooooo
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -40,7 +40,7 @@ REPLY EPSV 500 no such command
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
PASV

View File

@ -36,7 +36,7 @@ ftp://%HOSTIP:%FTPPORT/111 -C 2000
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -35,7 +35,7 @@ worx?
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -32,7 +32,7 @@ REPLY PASS 314 bluah you f00l!
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
</protocol>
</verify>
</testcase>

View File

@ -34,7 +34,7 @@ REPLY EPSV 314 bluah you f00l!
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
PASV

View File

@ -38,7 +38,7 @@ REPLY PORT 314 bluah you f00l!
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
QUIT
</protocol>

View File

@ -33,7 +33,7 @@ REPLY TYPE 314 bluah you f00l!
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
PASV

View File

@ -35,7 +35,7 @@ REPLY EPSV 314 bluah you f00l!
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
PASV

View File

@ -39,7 +39,7 @@ REPLY RETR 314 bluah you f00l!
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
TYPE I
SIZE 119

View File

@ -39,7 +39,7 @@ REPLY EPSV 314 bluah you f00l!
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
PASV

View File

@ -37,7 +37,7 @@ ftp://%HOSTIP:%FTPPORT/121 -Q "-DELE after_transfer" -Q "DELE before_transfer"
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
DELE before_transfer
EPSV

View File

@ -33,7 +33,7 @@ REPLY EPSV 500 no such command
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
PASV

View File

@ -30,7 +30,7 @@ ftp://%HOSTIP:%FTPPORT/123 -T log/upload123 -C 51
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -34,7 +34,7 @@ REPLY EPSV 314 bluah you f00l!
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
PASV

View File

@ -32,7 +32,7 @@ REPLY CWD 314 bluah you f00l!
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD path
QUIT

View File

@ -34,7 +34,7 @@ RETRWEIRDO
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD blalbla
CWD lululul

View File

@ -31,7 +31,7 @@ ftp://%HOSTIP:%FTPPORT/path/to/file/127 --disable-epsv
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD path
CWD to

View File

@ -37,7 +37,7 @@ the
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -40,7 +40,7 @@ FTP retrieve a byte-range
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -26,7 +26,7 @@ RETRNOSIZE
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD blalbla
CWD lululul

View File

@ -29,7 +29,7 @@ RETRNOSIZE
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD blalbla
CWD lululul

View File

@ -26,7 +26,7 @@ ftp://%HOSTIP:%FTPPORT/blalbla/139 -z "1 jan 1989"
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD blalbla
MDTM 139

View File

@ -25,7 +25,7 @@ ftp://%HOSTIP:%FTPPORT/blalbla/140 -z "1 jan 2004"
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD blalbla
MDTM 140

View File

@ -25,7 +25,7 @@ ftp://%HOSTIP:%FTPPORT/blalbla/141 -I
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD blalbla
MDTM 141

View File

@ -23,7 +23,7 @@ ftp://%HOSTIP:%FTPPORT/part1/part2/part3/part4/part5/part6/part7/part8/part9/par
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD part1
CWD part2

View File

@ -23,7 +23,7 @@ FTP URL with type=a
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD /tmp
CWD moo

View File

@ -31,7 +31,7 @@ REPLY NLST 450 No files found
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
PORT 127,0,0,1,243,212
TYPE A

View File

@ -34,7 +34,7 @@ REPLY NLST 550 Have a taste on this!
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
PORT 127,0,0,1,243,212
TYPE A

View File

@ -29,7 +29,7 @@ ftp://%HOSTIP:%FTPPORT/first/dir/here/146 ftp://%HOSTIP:%FTPPORT/146
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD first
CWD dir

View File

@ -33,7 +33,7 @@ COUNT CWD 1
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD first
MKD first

View File

@ -33,7 +33,7 @@ REPLY MKD 550 We will have no such thing
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD attempt
MKD attempt

View File

@ -29,7 +29,7 @@ send away this contents
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD dir1
EPSV

View File

@ -27,7 +27,7 @@ ftp://%HOSTIP:%FTPPORT/161
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -25,7 +25,7 @@ ftp://%HOSTIP:%FTPPORT/182
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -31,7 +31,7 @@ DELAY CWD 60
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD path
</protocol>

View File

@ -26,7 +26,7 @@ REPLY PASS 530 temporarily not available
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
</protocol>
</verify>
</testcase>

View File

@ -27,9 +27,9 @@ REPLY PASS 530 temporarily not available
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
</protocol>
</verify>
</testcase>

View File

@ -29,7 +29,7 @@ data blobb
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD a
CWD path

View File

@ -30,7 +30,7 @@ data blobb
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD a
CWD path

View File

@ -37,7 +37,7 @@ s/^(PORT 127,0,0,1,).*/$1/
</strippart>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD a
CWD path

View File

@ -36,7 +36,7 @@ ftp://%HOSTIP:%FTPPORT/a/path/215/ ftp://%HOSTIP:%FTPPORT/a/path/215/
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD a
CWD path

View File

@ -23,7 +23,7 @@ upload this file twice
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD a
CWD path

View File

@ -40,7 +40,7 @@ REPLY EPSV 500 no such command
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
NOOP 1
EPSV

View File

@ -40,7 +40,7 @@ REPLY ACCT 230 thank you
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
ACCT one count
PWD
EPSV

View File

@ -32,7 +32,7 @@ REPLY ACCT 532 bluah!
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
ACCT one count
</protocol>
<errorcode>

View File

@ -27,7 +27,7 @@ worx?
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -22,7 +22,7 @@ REPLY STOR 550 I said: access to this file is very much denied
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -34,7 +34,7 @@ REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127)
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
PASV
</protocol>

View File

@ -32,7 +32,7 @@ REPLY PASV 227 Entering Passiv Mode (1216,256,2,127,127,127)
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
PASV

View File

@ -32,7 +32,7 @@ ftp://%HOSTIP:%FTPPORT/247 -T log/test247.txt -z "apr 1 2005 08:00:00"
</upload>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
MDTM 247
QUIT

View File

@ -38,7 +38,7 @@ works
</upload>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
MDTM 248
EPSV

View File

@ -44,7 +44,7 @@ filter off really nothing
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE A

View File

@ -44,7 +44,7 @@ ftp://%HOSTIP:%FTPPORT/ -P %HOSTIP
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
PORT 127,0,0,1,243,212
TYPE A

View File

@ -50,7 +50,7 @@ filter off really nothing
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE A

View File

@ -50,7 +50,7 @@ s/^(EPRT \|2\|::1\|)(.*)/$1/
</strippart>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPRT |2|::1|
TYPE A

View File

@ -51,7 +51,7 @@ filter off really nothing
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE A

View File

@ -51,7 +51,7 @@ s/^(EPRT \|2\|::1\|)(.*)/$1/
</strippart>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPRT |2|::1|
TYPE A

View File

@ -39,7 +39,7 @@ filter off really nothing
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -38,7 +38,7 @@ ftp://%HOSTIP:%FTPPORT/270 --ftp-skip-pasv-ip --disable-epsv
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
PASV
TYPE I

View File

@ -31,7 +31,7 @@ ftp://%HOSTIP:%FTPPORT/272 -z "2004 jan 1 12:12:12 UTC"
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
MDTM 272
QUIT

View File

@ -54,7 +54,7 @@ filter off really nothing
<protocol>
USER anonymous
USER replacement
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD 280
EPSV

View File

@ -47,7 +47,7 @@ works?
</upload>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
EPSV
TYPE I

View File

@ -35,7 +35,7 @@ REPLY SIZE 550 bluah you f00l!
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
MDTM 511
QUIT

View File

@ -34,7 +34,7 @@ REPLY MDTM 213 20030405060708
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
MDTM 520
EPSV

View File

@ -34,7 +34,7 @@ ftp://%HOSTIP:%FTPPORT/path/to/
<verify>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
</protocol>

View File

@ -41,7 +41,7 @@ Moooooooooooo
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD path
PORT 127,0,0,1,5,109

View File

@ -41,7 +41,7 @@ ftp://%HOSTIP:%FTPPORT/path/526
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD path
EPSV

View File

@ -41,7 +41,7 @@ ftp://%HOSTIP:%FTPPORT/path/527
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD path
EPSV

View File

@ -41,7 +41,7 @@ Moooooooooooo
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD path
PORT 127,0,0,1,5,109

View File

@ -44,7 +44,7 @@ don't upload this
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD path
PORT 127,0,0,1,5,109

View File

@ -41,7 +41,7 @@ ftp://%HOSTIP:%FTPPORT/path/532
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD path
EPSV

View File

@ -39,7 +39,7 @@ ftp://%HOSTIP:%FTPPORT/path/533 ftp://%HOSTIP:%FTPPORT/path/533
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD path
EPSV

View File

@ -39,7 +39,7 @@ ftp://non-existing-host.com/path/534 ftp://%HOSTIP:%FTPPORT/path/534
</strip>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
PWD
CWD path
EPSV

View File

@ -38,7 +38,7 @@ REPLY PASS 314 bluah you f00l!
</errorcode>
<protocol>
USER anonymous
PASS curl_by_daniel@haxx.se
PASS ftp@example.com
</protocol>
</verify>
</testcase>