Return to test148 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: FTP ! 5: </keywords> ! 6: </info> ! 7: ! 8: # Server-side ! 9: <reply> ! 10: <servercmd> ! 11: REPLY CWD 550 I won't allow this on my server ! 12: REPLY MKD 550 We will have no such thing ! 13: </servercmd> ! 14: </reply> ! 15: ! 16: # Client-side ! 17: <client> ! 18: <server> ! 19: ftp ! 20: </server> ! 21: <name> ! 22: FTP with --ftp-create-dirs (failing MKD) ! 23: </name> ! 24: <command> ! 25: ftp://%HOSTIP:%FTPPORT/attempt/to/get/this/148 --ftp-create-dirs ! 26: </command> ! 27: </client> ! 28: ! 29: # Verify data after the test has been "shot" ! 30: <verify> ! 31: # Strip all valid kinds of PORT and EPRT that curl can send ! 32: <strip> ! 33: ^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3} ! 34: ^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\| ! 35: </strip> ! 36: <errorcode> ! 37: 9 ! 38: </errorcode> ! 39: <protocol> ! 40: USER anonymous ! 41: PASS ftp@example.com ! 42: PWD ! 43: CWD attempt ! 44: MKD attempt ! 45: CWD attempt ! 46: QUIT ! 47: </protocol> ! 48: </verify> ! 49: </testcase>