test531 (926B)
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/%TESTNUMBER %LOGDIR/upload%TESTNUMBER 33 </command> 34 <file name="%LOGDIR/upload%TESTNUMBER"> 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> 43 QUIT 44 </strip> 45 # Strip all valid kinds of PORT and EPRT that curl can send 46 <strip> 47 ^PORT \d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3},\d{1,3} 48 ^EPRT \|1\|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\|\d{1,5}\| 49 </strip> 50 <protocol> 51 USER anonymous 52 PASS ftp@example.com 53 PWD 54 CWD path 55 PORT 127,0,0,1,5,109 56 TYPE I 57 STOR %TESTNUMBER 58 QUIT 59 </protocol> 60 61 </verify> 62 </testcase>