--- /dev/null
+ftp://%HOSTIP:%FTPPORT/a/path/103 --head
--- /dev/null
+ftp://userdude:passfellow@%HOSTIP:%FTPPORT/103 --use-ascii
+
--- /dev/null
+"ftp://%HOSTIP:%FTPPORT//path%20with%20%20spaces/and%20things2/106;type=A"
+
--- /dev/null
+ftp://%HOSTIP:%FTPPORT/107 -T data/reply106.txt
--- /dev/null
+ftp://%HOSTIP:%FTPPORT/CWD/STOR/RETR/108 -T data/reply106.txt -P -
--- /dev/null
+ftp://%HOSTIP:%FTPPORT/109 -T data/reply106.txt --append
--- /dev/null
+ftp://%HOSTIP:%FTPPORT/110 -C 20
--- /dev/null
+ftp://%HOSTIP:%FTPPORT/110 -C 2000
--- /dev/null
+ftp://%HOSTIP:%FTPPORT/112 -T data/reply106.txt -C 40
FTP dir list, PORT with specified IP
-
--- /dev/null
+FTP --head to get file size only
--- /dev/null
+FTP user+password in URL and ASCII transfer
--- /dev/null
+FTP GET with type=A style ASCII URL using %20 codes
--- /dev/null
+FTP PASV upload file
--- /dev/null
+FTP PORT upload with CWD
--- /dev/null
+FTP PASV upload append
--- /dev/null
+FTP download resume with set limit
--- /dev/null
+FTP download resume beyond file size
--- /dev/null
+FTP PASV upload resume
USER anonymous\r
PASS curl_by_daniel@haxx.se\r
-CWD a/path/\r
+CWD a/path\r
PORT 127,0,0,1,246,33\r
TYPE I\r
RETR 103\r
--- /dev/null
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+CWD a/path\r
+TYPE I\r
+SIZE 103\r
--- /dev/null
+USER userdude\r
+PASS passfellow\r
+PASV\r
+TYPE A\r
+RETR 103\r
--- /dev/null
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+CWD /path with spaces/and things2\r
+PASV\r
+TYPE A\r
+RETR 106\r
--- /dev/null
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PASV\r
+TYPE I\r
+STOR 107\r
--- /dev/null
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+CWD CWD/STOR/RETR\r
+PORT 127,0,0,1,5,109\r
+TYPE I\r
+STOR 108\r
--- /dev/null
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PASV\r
+TYPE I\r
+APPE 109\r
--- /dev/null
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PASV\r
+TYPE I\r
+SIZE 110\r
+REST 20\r
+RETR 110\r
--- /dev/null
+USER anonymous\r
+PASS curl_by_daniel@haxx.se\r
+PASV\r
+TYPE I\r
+APPE 112\r
--- /dev/null
+Content-Length: 51
--- /dev/null
+data
+ to
+ see
+that FTP
+works
+ so does it?
--- /dev/null
+data
+ to
+ see
+that FTP
+works
+ so does it?
--- /dev/null
+expected to be a file without the first part
+but we emulate that
--- /dev/null
+e without the first part
+but we emulate that
--- /dev/null
+data
+ to
+ see
+that FTP
+works
+ so does it?
--- /dev/null
+data
+ to
+ see
+that FTP
+works
+ so does it?
--- /dev/null
+data
+ to
+ see
+that FTP
+works
+ so does it?
--- /dev/null
+o does it?