mirror of
https://github.com/moparisthebest/curl
synced 2024-11-15 22:15:13 -05:00
77268e0649
it disconnects the TCP connection, like a good ftp client should!
43 lines
488 B
Plaintext
43 lines
488 B
Plaintext
|
|
# Client-side
|
|
<client>
|
|
<server>
|
|
ftp
|
|
</server>
|
|
<name>
|
|
FTP PASV upload file
|
|
</name>
|
|
<file name="log/test107.txt">
|
|
data
|
|
to
|
|
see
|
|
that FTP
|
|
works
|
|
so does it?
|
|
</file>
|
|
<command>
|
|
ftp://%HOSTIP:%FTPPORT/107 -T log/test107.txt
|
|
</command>
|
|
</test>
|
|
|
|
# Verify data after the test has been "shot"
|
|
<verify>
|
|
<upload>
|
|
data
|
|
to
|
|
see
|
|
that FTP
|
|
works
|
|
so does it?
|
|
</upload>
|
|
<protocol>
|
|
USER anonymous
|
|
PASS curl_by_daniel@haxx.se
|
|
PWD
|
|
EPSV
|
|
TYPE I
|
|
STOR 107
|
|
QUIT
|
|
</protocol>
|
|
</verify>
|