1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-24 17:18:48 -05:00
curl/tests/data/test248

57 lines
713 B
Plaintext
Raw Normal View History

<testcase>
<info>
<keywords>
FTP
</keywords>
</info>
2005-04-05 17:07:27 -04:00
<reply>
<mdtm>
213 20050409102659
</mdtm>
</reply>
# Client-side
<client>
<server>
ftp
</server>
<name>
FTP upload time condition evaluates FALSE => upload anyway
</name>
<file name="log/test%TESTNUMBER.txt">
2005-04-05 17:07:27 -04:00
data
to
see
that FTP
works
so does it?
</file>
<command>
ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/test%TESTNUMBER.txt -z "apr 1 2005 08:00:00"
2005-04-05 17:07:27 -04:00
</command>
</client>
# Verify data after the test has been "shot"
<verify>
<upload>
data
to
see
that FTP
works
so does it?
</upload>
<protocol>
USER anonymous
PASS ftp@example.com
2005-04-05 17:07:27 -04:00
PWD
MDTM %TESTNUMBER
2005-04-05 17:07:27 -04:00
EPSV
TYPE I
STOR %TESTNUMBER
2005-04-05 17:07:27 -04:00
QUIT
</protocol>
</verify>
</testcase>