test146 668 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Server-side
  2. <reply>
  3. <data>
  4. this is file contents
  5. </data>
  6. </reply>
  7. # Client-side
  8. <client>
  9. <server>
  10. ftp
  11. </server>
  12. <name>
  13. persistant FTP with different paths
  14. </name>
  15. <command>
  16. ftp://%HOSTIP:%FTPPORT/first/dir/here/146 ftp://%HOSTIP:%FTPPORT/146
  17. </command>
  18. </test>
  19. # Verify data after the test has been "shot"
  20. <verify>
  21. # strip all kinds of PORT, EPRT and LPRT curl can do
  22. <strip>
  23. ^PORT 127,0,0,1,.*
  24. ^EPRT.*
  25. ^LPRT.*
  26. </strip>
  27. <protocol>
  28. USER anonymous
  29. PASS curl_by_daniel@haxx.se
  30. PWD
  31. CWD first
  32. CWD dir
  33. CWD here
  34. EPSV
  35. TYPE I
  36. SIZE 146
  37. RETR 146
  38. CWD /nowhere/anywhere
  39. EPSV
  40. TYPE I
  41. SIZE 146
  42. RETR 146
  43. QUIT
  44. </protocol>
  45. </verify>