drt41563 2012-10-09 17:35
浏览 46
已采纳

如何在我的Linux服务器中禁用自动文件压缩[关闭]

One of my client's site is hosted in a linux based server (managing with CPanel). When I published the site, I gone through a strange issue.

All files in the server (for some particular folders) are compressed. I am not talking about GZIP or related compression. Even when I upload a file and open the file from the server, every spaces and linebreaks are strippedof.

Stripping all spaces and linebreaks creates several code error (mainly with comments). So I need to stop this behavior.

Please help me to resolve this issue by some how. I have server controls through CPanel (Having a limited control). Let me inform you that this issue is visible only for certain folders.

  • 写回答

1条回答 默认 最新

  • duanlijia5864 2012-10-09 20:52
    关注

    It sounds like your FTP program is in Text Mode and for some reason it's stripping out all whitespace. That is not normal, but try uploading in Binary Mode to see if that works around the issue.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效
  • ¥15 悬赏!微信开发者工具报错,求帮改
  • ¥20 wireshark抓不到vlan
  • ¥20 关于#stm32#的问题:需要指导自动酸碱滴定仪的原理图程序代码及仿真
  • ¥20 设计一款异域新娘的视频相亲软件需要哪些技术支持