test236 781 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. </keywords>
  6. </info>
  7. # Server-side
  8. <reply>
  9. <servercmd>
  10. REPLY SIZE 550 access to this file is very much denied
  11. REPLY APPE 550 I said: access to this file is very much denied
  12. REPLY STOR 550 I said: access to this file is very much denied
  13. </servercmd>
  14. </reply>
  15. # Client-side
  16. <client>
  17. <server>
  18. ftp
  19. </server>
  20. <name>
  21. FTP resume upload but denied access to remote file
  22. </name>
  23. <command>
  24. ftp://%HOSTIP:%FTPPORT/236 -T log/file236.txt -C -
  25. </command>
  26. <file name="log/file236.txt">
  27. Test data
  28. </file>
  29. </client>
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <protocol>
  33. USER anonymous
  34. PASS ftp@example.com
  35. PWD
  36. EPSV
  37. TYPE I
  38. SIZE 236
  39. STOR 236
  40. QUIT
  41. </protocol>
  42. # (25) Failed FTP upload: 550
  43. <errorcode>
  44. 25
  45. </errorcode>
  46. </verify>
  47. </testcase>