mirror of
https://github.com/curl/curl.git
synced 2024-12-15 06:40:09 +08:00
cd4aee156f
- QUIT is not an important FTP command - curl only sends it "best effort", meaning it might not be sent - it is a known "flaky" thing in test output because of this Closes #14404
53 lines
639 B
Plaintext
53 lines
639 B
Plaintext
<testcase>
|
|
<info>
|
|
<keywords>
|
|
FTP
|
|
EPSV
|
|
APPE
|
|
Resume
|
|
</keywords>
|
|
</info>
|
|
# Server-side
|
|
<reply>
|
|
</reply>
|
|
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP PASV upload resume
|
|
</name>
|
|
<command>
|
|
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C 40
|
|
</command>
|
|
<file name="%LOGDIR/upload%TESTNUMBER">
|
|
this is the *****crap******** that we're gonna upload
|
|
|
|
worx?
|
|
</file>
|
|
</client>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<strip>
|
|
QUIT
|
|
</strip>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS ftp@example.com
|
|
PWD
|
|
EPSV
|
|
TYPE I
|
|
APPE %TESTNUMBER
|
|
QUIT
|
|
</protocol>
|
|
<upload>
|
|
gonna upload
|
|
|
|
worx?
|
|
</upload>
|
|
</verify>
|
|
</testcase>
|