FTP quote commands prefixed with '*' now can fail without aborting
Prefixing the FTP quote commands with an asterisk really only worked for the postquote actions. This is now fixed and test case 227 has been extended to verify.
This commit is contained in:
@@ -19,6 +19,7 @@ works
|
||||
</data>
|
||||
<servercmd>
|
||||
REPLY EPSV 500 no such command
|
||||
REPLY FAIL 500 this might not be a failure!
|
||||
</servercmd>
|
||||
</reply>
|
||||
|
||||
@@ -31,7 +32,7 @@ ftp
|
||||
FTP with quote ops
|
||||
</name>
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/227 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3"
|
||||
ftp://%HOSTIP:%FTPPORT/227 -Q "NOOP 1" -Q "+NOOP 2" -Q "-NOOP 3" -Q "*FAIL" -Q "+*FAIL HARD"
|
||||
</command>
|
||||
</client>
|
||||
|
||||
@@ -42,10 +43,12 @@ USER anonymous
|
||||
PASS ftp@example.com
|
||||
PWD
|
||||
NOOP 1
|
||||
FAIL
|
||||
EPSV
|
||||
PASV
|
||||
TYPE I
|
||||
NOOP 2
|
||||
FAIL HARD
|
||||
SIZE 227
|
||||
RETR 227
|
||||
NOOP 3
|
||||
|
||||
Reference in New Issue
Block a user