mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
added test case 272 for -z download over FTP when the timestamp is identical
to the remote one
This commit is contained in:
parent
3beb2f6b5d
commit
68917eb517
@ -33,4 +33,4 @@ EXTRA_DIST = test1 test108 test117 test127 test20 test27 test34 test46 \
|
||||
test237 test238 test239 test243 test245 test246 test247 test248 test249 \
|
||||
test250 test251 test252 test253 test254 test255 test521 test522 test523 \
|
||||
test256 test257 test258 test259 test260 test261 test262 test263 test264 \
|
||||
test265 test266 test267 test268 test269 test270 test271
|
||||
test265 test266 test267 test268 test269 test270 test271 test272
|
||||
|
38
tests/data/test272
Normal file
38
tests/data/test272
Normal file
@ -0,0 +1,38 @@
|
||||
<info>
|
||||
<keywords>
|
||||
FTP
|
||||
PASV
|
||||
RETR
|
||||
</keywords>
|
||||
</info>
|
||||
# Server-side
|
||||
<reply>
|
||||
<mdtm>
|
||||
213 20040101121212
|
||||
</mdtm>
|
||||
</reply>
|
||||
|
||||
# Client-side
|
||||
<client>
|
||||
<server>
|
||||
ftp
|
||||
</server>
|
||||
<name>
|
||||
FTP timed conditioned get file with identical time stamp
|
||||
</name>
|
||||
<command>
|
||||
ftp://%HOSTIP:%FTPPORT/272 -z "2004 jan 1 12:12:12 UTC"
|
||||
</command>
|
||||
|
||||
</client>
|
||||
|
||||
# Verify data after the test has been "shot"
|
||||
<verify>
|
||||
<protocol>
|
||||
USER anonymous
|
||||
PASS curl_by_daniel@haxx.se
|
||||
PWD
|
||||
MDTM 272
|
||||
QUIT
|
||||
</protocol>
|
||||
</verify>
|
Loading…
Reference in New Issue
Block a user