ftp://%HOSTIP:%FTPPORT/path/file1359 -O -J -D log/heads1359
</command>
<postcheck>
-perl %SRCDIR/libtest/notexists.pl %PWD/log/name1359
+perl %SRCDIR/libtest/notexists.pl log/name1359
</postcheck>
</client>
# Verify data after the test has been "shot"
<verify>
<protocol>
-USER anonymous\r
-PASS ftp@example.com\r
-PWD\r
-CWD path\r
-EPSV\r
-TYPE I\r
-SIZE file1359\r
-RETR file1359\r
-QUIT\r
+USER anonymous
+PASS ftp@example.com
+PWD
+CWD path
+EPSV
+TYPE I
+SIZE file1359
+RETR file1359
+QUIT
</protocol>
<file1 name="log/file1359">
</file1>
<file2 name="log/heads1359">
-220- _ _ ____ _ \r
-220- ___| | | | _ \| | \r
-220- / __| | | | |_) | | \r
-220- | (__| |_| | _ <| |___ \r
-220 \___|\___/|_| \_\_____|\r
-331 We are happy you popped in!\r
-230 Welcome you silly person\r
-257 "/" is current directory\r
-250 CWD command successful.\r
+220- _ _ ____ _
+220- ___| | | | _ \| |
+220- / __| | | | |_) | |
+220- | (__| |_| | _ {| |___
+220 \___|\___/|_| \_\_____|
+331 We are happy you popped in!
+230 Welcome you silly person
+257 "/" is current directory
+250 CWD command successful.
229 Entering Passive Mode (stripped)
-200 I modify TYPE as you wanted\r
-213 214\r
-150 Binary data connection for 1359 () (214 bytes).\r
-226 File transfer complete\r
-221 bye bye baby\r
+200 I modify TYPE as you wanted
+213 214
+150 Binary data connection for 1359 () (214 bytes).
+226 File transfer complete
</file2>
<stripfile2>
s/^(229 Entering Passive Mode \().*(\).*)/${1}stripped${2}/
</stripfile2>
<file3 name="log/stdout1359">
-curl: Saved to filename '%PWD/log/file1359'
</file3>
</verify>