# This is the ftps equivalent of test1086
FTPS
EPSV
RETR
timeout
FAILURE
SLOWDOWNDATA
timing-dependent
# Server-side
SLOWDOWNDATA
REPLY welcome 220 Hey
REPLY USER 331 OK
REPLY PASS 230 OK
REPLY PWD 257 "/"
REPLY TYPE 200 OK
%repeat[50 x Long chunk of data that couldn't possibly be sent in the time allotted.%0a]%
# Client-side
SSL
ftps
ftps
FTPS download with strict timeout and slow data transfer
--insecure --ftp-ssl-control ftps://%HOSTIP:%FTPSPORT/%TESTNUMBER -m 5
# Verify data after the test has been "shot"
# 28 is CURLE_OPERATION_TIMEDOUT
28
USER anonymous
PASS ftp@example.com
PBSZ 0
PROT C
PWD
EPSV
TYPE I
SIZE %TESTNUMBER
RETR %TESTNUMBER