test505 667 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # Server-side
  2. <reply>
  3. </reply>
  4. # Client-side
  5. <client>
  6. <server>
  7. ftp
  8. </server>
  9. # tool is what to use instead of 'curl'
  10. <tool>
  11. lib505
  12. </tool>
  13. <name>
  14. FTP upload with rename after transfer
  15. </name>
  16. <command>
  17. ftp://%HOSTIP:%FTPPORT/505 log/upload505
  18. </command>
  19. <file name="log/upload505">
  20. Contents
  21. of
  22. a file
  23. to verify
  24. ftp
  25. upload
  26. works?
  27. </file>
  28. </client>
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <upload>
  32. Contents
  33. of
  34. a file
  35. to verify
  36. ftp
  37. upload
  38. works?
  39. </upload>
  40. <protocol>
  41. USER anonymous
  42. PASS curl_by_daniel@haxx.se
  43. PWD
  44. EPSV
  45. TYPE I
  46. STOR 505
  47. RNFR 505
  48. RNTO 505-forreal
  49. QUIT
  50. </protocol>
  51. </verify>