test144 609 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Server-side
  2. <reply>
  3. <data>
  4. </data>
  5. </reply>
  6. # Client-side
  7. <client>
  8. <server>
  9. ftp
  10. </server>
  11. <name>
  12. FTP NLST dir list without contents, using PORT
  13. </name>
  14. <command>
  15. ftp://%HOSTIP:%FTPPORT/ -P - -l
  16. </command>
  17. <file name="log/ftpserver.cmd">
  18. REPLY NLST 450 No files found
  19. </file>
  20. </test>
  21. # Verify data after the test has been "shot"
  22. <verify>
  23. # strip all kinds of PORT, EPRT and LPRT curl can do
  24. <strip>
  25. ^PORT 127,0,0,1,.*
  26. ^EPRT.*
  27. ^LPRT.*
  28. </strip>
  29. <protocol>
  30. USER anonymous
  31. PASS curl_by_daniel@haxx.se
  32. PWD
  33. PORT 127,0,0,1,243,212
  34. TYPE A
  35. NLST
  36. QUIT
  37. </protocol>
  38. </verify>