How can I stop Filezilla changing my linebreaks?

前端 未结 4 1302
Happy的楠姐
Happy的楠姐 2020-11-27 15:00

I\'m downloading a perl CGI file from a Linux web server.

It has Unix linebreaks. I edit it on a Windows PC with a decent text-editor (Geany) which preserves those l

4条回答
  •  [愿得一人]
    2020-11-27 15:53

    The actual problem was with Filezilla FTP client default transfer mode, by default it is "Auto". Follow below step to convert it into "binary".

    Go to the "Edit | Settings… "

    In the new window, go to "transfers | File Types " and in "Default transfer type", select "Binary".

提交回复
热议问题