7
xyl0o
7y

Spend hours debugging a python script because tests fail. Turns out ftp (the unix binary) adds CR bytes to every byte in a .gz file that looks like a LF on upload (in test setup). Client and server are both linux. 😭

Yes i know switch to binary mode (that fixed it - why not default??). But still WHY CR? Didn't ask for it. No windows in sight.

Comments
  • 2
    I just have an alias command setup so I always am using BIN mode :)

    Good rule of thumb to use every time.
Add Comment