test149 745 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Server-side
  2. <reply>
  3. </reply>
  4. # Client-side
  5. <client>
  6. <server>
  7. ftp
  8. </server>
  9. <name>
  10. FTP with multiple uploads
  11. </name>
  12. <command>
  13. -T log/upload148 ftp://%HOSTIP:%FTPPORT/dir1/148 -T log/upload148 ftp://%HOSTIP:%FTPPORT/dir2/148
  14. </command>
  15. <file name="log/upload148">
  16. send away this contents
  17. </file>
  18. </client>
  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 dir1
  32. EPSV
  33. TYPE I
  34. STOR 148
  35. CWD /nowhere/anywhere
  36. CWD dir2
  37. EPSV
  38. TYPE I
  39. STOR 148
  40. QUIT
  41. </protocol>
  42. <file name="log/upload148">
  43. send away this contents
  44. </file>
  45. </verify>