test793 (620B)
1 <testcase> 2 <info> 3 <keywords> 4 netrc 5 FTP 6 </keywords> 7 </info> 8 # 9 # Server-side 10 <reply> 11 <data> 12 content 13 </data> 14 </reply> 15 16 # 17 # Client-side 18 <client> 19 <server> 20 ftp 21 </server> 22 <features> 23 proxy 24 </features> 25 <name> 26 .netrc with embedded NULL byte, with quoted token 27 </name> 28 <command> 29 --netrc --netrc-file %LOGDIR/netrc%TESTNUMBER ftp://%HOSTIP:%FTPPORT/%TESTNUMBER 30 </command> 31 <file name="%LOGDIR/netrc%TESTNUMBER" > 32 machine %HOSTIP login username "password"%hex[%00]hex% hello 33 </file> 34 </client> 35 36 <verify> 37 <protocol crlf="yes"> 38 USER username 39 PASS 40 PWD 41 EPSV 42 TYPE I 43 SIZE %TESTNUMBER 44 RETR %TESTNUMBER 45 QUIT 46 </protocol> 47 </verify> 48 </testcase>