FTP
RETR
LIST
wildcardmatch
ftplistparser
flaky
#
# Server-side
# Client-side
ftp
lib574
FTP wildcard download - changed fnmatch, 2x perform (DOS LIST response)
"ftp://%HOSTIP:%FTPPORT/fully_simulated/DOS/*.txt"
############################################
# Verify data after the test has been "shot"
QUIT
0
# THERE SHOULD NOT BE "SIZE"! and one "USER/PASS"
USER anonymous
PASS ftp@example.com
PWD
CWD fully_simulated
CWD DOS
EPSV
TYPE A
LIST
EPSV
TYPE I
RETR chmod1
EPSV
RETR chmod2
EPSV
RETR chmod3
EPSV
RETR empty_file.dat
EPSV
RETR file.txt
EPSV
RETR someothertext.txt
CWD /
CWD fully_simulated
CWD DOS
EPSV
TYPE A
LIST
EPSV
TYPE I
RETR chmod1
EPSV
RETR chmod2
EPSV
RETR chmod3
EPSV
RETR empty_file.dat
EPSV
RETR file.txt
EPSV
RETR someothertext.txt
QUIT
This file should have permissions 444
This file should have permissions 666
This file should have permissions 777
This is content of file "file.txt"
Some junk ;-) This file does not really exist.
This file should have permissions 444
This file should have permissions 666
This file should have permissions 777
This is content of file "file.txt"
Some junk ;-) This file does not really exist.