test128 600 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # Server-side
  2. <reply>
  3. </reply>
  4. # Client-side
  5. <client>
  6. <server>
  7. ftp
  8. </server>
  9. <name>
  10. FTP upload with --crlf
  11. </name>
  12. <command>
  13. ftp://%HOSTIP:%FTPPORT/128 -T log/upload128 --crlf
  14. </command>
  15. <file name="log/upload128">
  16. file
  17. with unix newlines
  18. meant to be
  19. converted
  20. with
  21. the
  22. --crlf option
  23. </file>
  24. </test>
  25. # Verify data after the test has been "shot"
  26. <verify>
  27. <protocol>
  28. USER anonymous
  29. PASS curl_by_daniel@haxx.se
  30. PWD
  31. EPSV
  32. TYPE I
  33. STOR 128
  34. QUIT
  35. </protocol>
  36. <upload>
  37. file
  38. with unix newlines
  39. meant to be
  40. converted
  41. with
  42. the
  43. --crlf option
  44. </upload>
  45. </verify>