test520 536 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <testcase>
  2. #
  3. # Server-side
  4. <reply>
  5. <data>
  6. contents of file
  7. </data>
  8. <servercmd>
  9. REPLY MDTM 213 20030405060708
  10. </servercmd>
  11. </reply>
  12. # Client-side
  13. <client>
  14. <server>
  15. ftp
  16. </server>
  17. # tool is what to use instead of 'curl'
  18. <tool>
  19. lib520
  20. </tool>
  21. <name>
  22. FTP RETR with FILETIME
  23. </name>
  24. <command>
  25. ftp://%HOSTIP:%FTPPORT/520
  26. </command>
  27. </client>
  28. #
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <protocol>
  32. USER anonymous
  33. PASS ftp@example.com
  34. PWD
  35. MDTM 520
  36. EPSV
  37. TYPE I
  38. SIZE 520
  39. RETR 520
  40. QUIT
  41. </protocol>
  42. </verify>
  43. </testcase>