<info>
<keywords>
FTP
+LIST
+RETR
wildcardmatch
ftplistparser
</keywords>
<errorcode>
0
</errorcode>
-<strip>
-^RETR.*
-^EPSV.*
-^PWD.*
-^CWD.*
-^TYPE.*
-^LIST.*
-</strip>
-<strippart>
-s/USER.*/USER/
-s/PASS.*/PASS/
-s/QUIT.*/QUIT/
-</strippart>
-# THERE SHOULD NOT BE "SIZE"! and once "USER && PASS"
+# THERE SHOULD NOT BE "SIZE"! and one "USER/PASS"
<protocol>
-USER
-PASS
-QUIT
+USER anonymous\r
+PASS ftp@example.com\r
+PWD\r
+CWD fully_simulated\r
+CWD UNIX\r
+EPSV\r
+TYPE A\r
+LIST\r
+EPSV\r
+TYPE I\r
+RETR chmod1\r
+EPSV\r
+RETR chmod2\r
+EPSV\r
+RETR chmod3\r
+EPSV\r
+RETR empty_file.dat\r
+EPSV\r
+RETR file.txt\r
+EPSV\r
+RETR someothertext.txt\r
+CWD /\r
+CWD fully_simulated\r
+CWD UNIX\r
+EPSV\r
+TYPE A\r
+LIST\r
+EPSV\r
+TYPE I\r
+RETR chmod1\r
+EPSV\r
+RETR chmod2\r
+EPSV\r
+RETR chmod3\r
+EPSV\r
+RETR empty_file.dat\r
+EPSV\r
+RETR file.txt\r
+EPSV\r
+RETR someothertext.txt\r
+QUIT\r
</protocol>
-<stdout mode="text">
+<stdout>
This file should have permissions 444
This file should have permissions 666
This file should have permissions 777