draconisplusplus/subprojects/curl-8.10.1/tests/data/test476

46 lines
724 B
Plaintext

<testcase>
<info>
<keywords>
FTP
EPSV
STOR
TYPE A
</keywords>
</info>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP PASV upload ASCII file already using CRLF
</name>
<file name="%LOGDIR/test%TESTNUMBER.txt" nonewline="yes">
%repeat[1750 x a line of text used for verifying this !%0d%0a]%
</file>
<command>
"ftp://%HOSTIP:%FTPPORT/%TESTNUMBER;type=a" -T %LOGDIR/test%TESTNUMBER.txt
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<strip>
QUIT
</strip>
<upload crlf="yes" nonewline="yes">
%repeat[1750 x a line of text used for verifying this !%0a]%
</upload>
<protocol>
USER anonymous
PASS ftp@example.com
PWD
EPSV
TYPE A
STOR %TESTNUMBER
QUIT
</protocol>
</verify>
</testcase>