FileZilla 3.28 for linux corrupt files with transfer type Auto
Posted: 2019-07-08 11:57
Hello.
I spent 2 days, missed deadlines because of this problem! Please explain to me why this happens and what motivates FileZilla to corrupt and changes certain files during the FTP transfer when Transfer Type is Auto (the default)?
Here is description of what happened:
I installed the latest FileZilla on a Linux Ubuntu 18.04 x64 host to connect to a FTP server on an embedded device with Linux Ubuntu 18.04 aarm64. I have not changed anything in the FileZilla settings after the install.
I compiled one application with GNU C on the host and transferred it to the device with FileZilla. When I run it I got segmentation error:
dev@dev:~$ /home/test/cross
Segmentation fault (core dumped)
aarch64-linux-gnu-gcc cross.c -o cross --> cross do not works when copied with FileZilla to the device !!!
aarch64-linux-gnu-gcc cross.c --> but a.out works!!!??
It took me a lot of time checking many other things while to notice that when I built it without -o option, which with GNU C produces a.out, application runs fine. But -o option just copies the file. Finally I was able to copy it with SCP and it worked so this pinned the problem to FileZilla. I found that some symbols are corrupted by FileZilla and diff on the device shows that between a.out and cross there are differences. So FileZilla corrupted cross but not a.out!
Finally I found that problem solves when I changed Transfer->Transfer Type->Binary!!!
My question is what motivates this by DEFAULT the FileZilla to has Transfer Type Auto and to corrupt files without user to have been notified and only for certain file types? This was the last thing I expected from such world wide and well known application.
Thanks, quite a nasty welcome "feature" for the new users!!!
I spent 2 days, missed deadlines because of this problem! Please explain to me why this happens and what motivates FileZilla to corrupt and changes certain files during the FTP transfer when Transfer Type is Auto (the default)?
Here is description of what happened:
I installed the latest FileZilla on a Linux Ubuntu 18.04 x64 host to connect to a FTP server on an embedded device with Linux Ubuntu 18.04 aarm64. I have not changed anything in the FileZilla settings after the install.
I compiled one application with GNU C on the host and transferred it to the device with FileZilla. When I run it I got segmentation error:
dev@dev:~$ /home/test/cross
Segmentation fault (core dumped)
aarch64-linux-gnu-gcc cross.c -o cross --> cross do not works when copied with FileZilla to the device !!!
aarch64-linux-gnu-gcc cross.c --> but a.out works!!!??
It took me a lot of time checking many other things while to notice that when I built it without -o option, which with GNU C produces a.out, application runs fine. But -o option just copies the file. Finally I was able to copy it with SCP and it worked so this pinned the problem to FileZilla. I found that some symbols are corrupted by FileZilla and diff on the device shows that between a.out and cross there are differences. So FileZilla corrupted cross but not a.out!
Finally I found that problem solves when I changed Transfer->Transfer Type->Binary!!!
My question is what motivates this by DEFAULT the FileZilla to has Transfer Type Auto and to corrupt files without user to have been notified and only for certain file types? This was the last thing I expected from such world wide and well known application.
Thanks, quite a nasty welcome "feature" for the new users!!!