vsftp daemon corrupting files when ftp done within java

A really bizzare issue here - ftp was working fine from command line for both binary and ascii transfers but from an ancient java ftp program files were getting transferred in the wrong mode. After much digging the following settings had to be made in the vsftpd config to fix it:

ascii_upload_enable=YES
ascii_download_enable=YES


Hope this will help someone else as it had us confused for quite a while.

0 comments:

Post a Comment