test520 579 B

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