From b0b2824b58df4dead3fdc7fcb48c3c95328ae2fc Mon Sep 17 00:00:00 2001 From: Patrick Monnerat Date: Mon, 24 Aug 2009 12:57:25 +0000 Subject: - Introduced a SYST-based test to properly set-up name format when dealing with the OS/400 FTP server. - Fixed an ftp_readresp() bug preventing detection of failing control socket and causing FTP client to loop forever. --- tests/data/test1103 | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 tests/data/test1103 (limited to 'tests/data/test1103') diff --git a/tests/data/test1103 b/tests/data/test1103 new file mode 100644 index 000000000..4d45056d5 --- /dev/null +++ b/tests/data/test1103 @@ -0,0 +1,48 @@ + + + +FTP +SYST +SITE +OS400 + + +# Server-side + + +blabla + + +REPLY PWD 257 "C:/somedir" is the current directory +REPLY SYST 215 unknown-OS runs this server + + + +# Client-side + + +ftp + + +FTP non-OS/400 server + + +ftp://%HOSTIP:%FTPPORT/1103 + + + +# Verify data after the test has been "shot" + + +USER anonymous +PASS ftp@example.com +PWD +SYST +EPSV +TYPE I +SIZE 1103 +RETR 1103 +QUIT + + + -- cgit v1.2.3