FTP code turned into state machine. Not completely yet, but a good start.

The tag 'before_ftp_statemachine' was set just before this commit in case
of future need.
This commit is contained in:
Daniel Stenberg
2005-02-09 13:06:40 +00:00
parent 120f17ce04
commit 6a2e21ec8c
34 changed files with 2970 additions and 1755 deletions

View File

@@ -21,7 +21,7 @@ REPLY USER 314 bluah you fewl!
# Verify data after the test has been "shot"
<verify>
<errorcode>
12
67
</errorcode>
<protocol>
USER anonymous

View File

@@ -21,7 +21,7 @@ REPLY PASS 314 bluah you f00l!
# Verify data after the test has been "shot"
<verify>
<errorcode>
11
67
</errorcode>
<protocol>
USER anonymous

View File

@@ -15,7 +15,7 @@ ftp
FTP download with strict timeout and slow CWD
</name>
<command>
ftp://%HOSTIP:%FTPPORT/path/to/file/126 -m 3
ftp://%HOSTIP:%FTPPORT/path/to/file/190 -m 3
</command>
<file name="log/ftpserver.cmd">
DELAY CWD 15
@@ -24,6 +24,7 @@ DELAY CWD 15
# Verify data after the test has been "shot"
<verify>
# 28 is CURLE_OPERATION_TIMEOUTED
<errorcode>
28
</errorcode>

View File

@@ -21,7 +21,7 @@ REPLY PASS 530 temporarily not available
# Verify data after the test has been "shot"
<verify>
<errorcode>
10
67
</errorcode>
<protocol>
USER anonymous

View File

@@ -20,8 +20,9 @@ REPLY PASS 530 temporarily not available
# Verify data after the test has been "shot"
<verify>
# 67 is CURLE_LOGIN_DENIED
<errorcode>
10
67
</errorcode>
<protocol>
USER anonymous