test128 681 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <testcase>
  2. <info>
  3. <keywords>
  4. FTP
  5. EPSV
  6. STOR
  7. --crlf
  8. </keywords>
  9. </info>
  10. # Server-side
  11. <reply>
  12. </reply>
  13. # Client-side
  14. <client>
  15. <server>
  16. ftp
  17. </server>
  18. <name>
  19. FTP upload with --crlf
  20. </name>
  21. <command>
  22. ftp://%HOSTIP:%FTPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER --crlf
  23. </command>
  24. <file name="%LOGDIR/upload%TESTNUMBER">
  25. file
  26. with unix newlines
  27. meant to be
  28. converted
  29. with
  30. the
  31. --crlf option
  32. </file>
  33. </client>
  34. # Verify data after the test has been "shot"
  35. <verify>
  36. <protocol>
  37. USER anonymous
  38. PASS ftp@example.com
  39. PWD
  40. EPSV
  41. TYPE I
  42. STOR %TESTNUMBER
  43. QUIT
  44. </protocol>
  45. <upload>
  46. file
  47. with unix newlines
  48. meant to be
  49. converted
  50. with
  51. the
  52. --crlf option
  53. </upload>
  54. </verify>
  55. </testcase>