mirror of
https://github.com/moparisthebest/curl
synced 2025-03-01 01:41:50 -05:00
verify a part of the PORT line
This commit is contained in:
parent
2415724d5f
commit
ade1e79b37
@ -25,18 +25,18 @@ ftp://%HOSTIP:%FTPPORT/a/path/103 -P -
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<strip>
|
||||
^PORT .*
|
||||
^EPRT.*
|
||||
^LPRT.*
|
||||
</strip>
|
||||
<strippart>
|
||||
s/^LPRT.*[\n]//
|
||||
s/^EPRT.*[\n]//
|
||||
s/^(PORT 127,0,0,1,)([0-9,]+)/$1/
|
||||
</strippart>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS curl_by_daniel@haxx.se
|
||||
PWD
|
||||
CWD a
|
||||
CWD path
|
||||
PORT 127,0,0,1,246,33
|
||||
PORT 127,0,0,1,
|
||||
TYPE I
|
||||
SIZE 103
|
||||
RETR 103
|
||||
|
Loading…
x
Reference in New Issue
Block a user