test236 859 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. REPLY SIZE 500 command not understood
  14. </servercmd>
  15. </reply>
  16. # Client-side
  17. <client>
  18. <server>
  19. ftp
  20. </server>
  21. <name>
  22. FTP resume upload but denied access to remote file
  23. </name>
  24. <command>
  25. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T log/file%TESTNUMBER.txt -C -
  26. </command>
  27. <file name="log/file%TESTNUMBER.txt">
  28. Test data
  29. </file>
  30. </client>
  31. # Verify data after the test has been "shot"
  32. <verify>
  33. <protocol>
  34. USER anonymous
  35. PASS ftp@example.com
  36. PWD
  37. EPSV
  38. TYPE I
  39. SIZE %TESTNUMBER
  40. STOR %TESTNUMBER
  41. QUIT
  42. </protocol>
  43. # (25) Failed FTP upload: 550
  44. <errorcode>
  45. 25
  46. </errorcode>
  47. </verify>
  48. </testcase>