Return to test408 CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / curl / tests / data |
1.1 ! misho 1: <testcase> ! 2: <info> ! 3: <keywords> ! 4: FTP ! 5: FTPS ! 6: PORT ! 7: STOR ! 8: </keywords> ! 9: </info> ! 10: # Server-side ! 11: <reply> ! 12: <data> ! 13: </data> ! 14: </reply> ! 15: ! 16: # Client-side ! 17: <client> ! 18: <features> ! 19: SSL ! 20: </features> ! 21: <server> ! 22: ftps ! 23: </server> ! 24: <name> ! 25: FTPS PORT upload with CWD ! 26: </name> ! 27: <command> ! 28: -k --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/CWD/STOR/RETR/408 -T log/upload408 -P - ! 29: </command> ! 30: <file name="log/upload408"> ! 31: Moooooooooooo ! 32: upload this ! 33: </file> ! 34: </client> ! 35: ! 36: # Verify data after the test has been "shot" ! 37: <verify> ! 38: # Strip all valid kinds of PORT and EPRT that curl can send ! 39: <strip> ! 40: ^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3} ! 41: ^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\| ! 42: </strip> ! 43: <protocol> ! 44: USER anonymous ! 45: PASS ftp@example.com ! 46: PBSZ 0 ! 47: PROT C ! 48: PWD ! 49: CWD CWD ! 50: CWD STOR ! 51: CWD RETR ! 52: PORT 127,0,0,1,5,109 ! 53: TYPE I ! 54: STOR 408 ! 55: QUIT ! 56: </protocol> ! 57: <upload> ! 58: Moooooooooooo ! 59: upload this ! 60: </upload> ! 61: </verify> ! 62: </testcase>