FTP get sets end-of-line to \r \r (0d0d) CrCr

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Smith

    FTP get sets end-of-line to \r \r (0d0d) CrCr

    When I FTP get a file (in Win2000pro with Apache 1.3.29 (the latest) and PHP
    4.3.6 (the latest)), it stores the file with 0d0d (hex) as end-of-line
    (except the very last line ONLY ends with 0d0d0a). One of the 0d's should
    of course be an 0a, and that is exactly what can be seen coming in in a
    trace, thus it is PHP that changes this. Changing auto_detect_lin e_endings
    does not change this. What to change???

    Thanks
    J.S.


Working...