test103 542 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # Server-side
  2. <reply>
  3. <data>
  4. data
  5. to
  6. see
  7. that FTP
  8. works
  9. so does it?
  10. </data>
  11. </reply>
  12. # Client-side
  13. <client>
  14. <server>
  15. ftp
  16. </server>
  17. <name>
  18. FTP RETR PORT with CWD
  19. </name>
  20. <command>
  21. ftp://%HOSTIP:%FTPPORT/a/path/103 -P -
  22. </command>
  23. </test>
  24. # Verify data after the test has been "shot"
  25. <verify>
  26. <strip>
  27. ^PORT .*
  28. ^EPRT.*
  29. ^LPRT.*
  30. </strip>
  31. <protocol>
  32. USER anonymous
  33. PASS curl_by_daniel@haxx.se
  34. PWD
  35. CWD a
  36. CWD path
  37. PORT 127,0,0,1,246,33
  38. TYPE I
  39. SIZE 103
  40. RETR 103
  41. QUIT
  42. </protocol>
  43. </verify>