test1039 714 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. EPSV
  6. APPE
  7. Resume
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. <size>
  13. 0
  14. </size>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. ftp
  20. </server>
  21. <name>
  22. FTP PASV upload resume from end of empty file
  23. </name>
  24. <command>
  25. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -C -
  26. </command>
  27. <file name="%LOGDIR/upload%TESTNUMBER">
  28. this is the *****cr@p******** that we're gonna upload
  29. worx?
  30. </file>
  31. </client>
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <protocol>
  35. USER anonymous
  36. PASS ftp@example.com
  37. PWD
  38. EPSV
  39. TYPE I
  40. SIZE %TESTNUMBER
  41. STOR %TESTNUMBER
  42. QUIT
  43. </protocol>
  44. <upload>
  45. this is the *****cr@p******** that we're gonna upload
  46. worx?
  47. </upload>
  48. </verify>
  49. </testcase>