FTP file corrupt after download with Apache Commons Net

前端 未结 3 1022
醉话见心
醉话见心 2021-01-14 16:42

The files downloaded by this, are nearly the same size but differ in some lines. Every answer points to binary file type. But this won\'t help. Got anybody an idea for the p

3条回答
  •  天涯浪人
    2021-01-14 17:19

    It seems to happen when using unescaped paths that contain spaces. E.g. C:/Documents and Settings/test

    Got it solved now by using a escaped path for the spaces. Thanks for your help

提交回复
热议问题