Return to test531 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: FTP ! 5: PORT ! 6: STOR ! 7: multi ! 8: </keywords> ! 9: </info> ! 10: ! 11: # Server-side ! 12: <reply> ! 13: <data> ! 14: </data> ! 15: <servercmd> ! 16: REPLY STOR 425 Permission Denied. File Exists. ! 17: </servercmd> ! 18: </reply> ! 19: ! 20: # Client-side ! 21: <client> ! 22: <server> ! 23: ftp ! 24: </server> ! 25: <tool> ! 26: lib525 ! 27: </tool> ! 28: <name> ! 29: FTP PORT upload using multi interface and get 425 response ! 30: </name> ! 31: <command> ! 32: ftp://%HOSTIP:%FTPPORT/path/531 log/upload531 ! 33: </command> ! 34: <file name="log/upload531"> ! 35: Moooooooooooo ! 36: don't upload this ! 37: </file> ! 38: </client> ! 39: ! 40: # Verify data after the test has been "shot" ! 41: <verify> ! 42: # Strip all valid kinds of PORT and EPRT that curl can send ! 43: <strip> ! 44: ^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3} ! 45: ^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\| ! 46: </strip> ! 47: <protocol> ! 48: USER anonymous ! 49: PASS ftp@example.com ! 50: PWD ! 51: CWD path ! 52: PORT 127,0,0,1,5,109 ! 53: TYPE I ! 54: STOR 531 ! 55: QUIT ! 56: </protocol> ! 57: ! 58: </verify> ! 59: </testcase>