FTP in Binary mode

Joined
Feb 27, 2019
Messages
3
I'm new to FreeNas and been asked to force the FTP service into binary mode for a third-party app to access.
They are saying it still is in ascii mode.
I did some searching and added this setting to the server (see image below).
I have restarted the service and the server but no joy.
As you can see from my avatar, I am a GUi type of person so no idea how to check in shell to see if the setting has taken (read elsewere that it has not in v9.3)
1. Can someone pls tell me cmds for looking into FTP config
2. Any other ideas to force the FTP into binary mode

FYI - connection works fine from OSX/FileZilla
FreeNas version = FreeNAS-11.2-U2

Thank you for any help offered
Carl

Screenshot 2019-02-27 at 15.15.20.png
 

Mlovelace

Guru
Joined
Aug 19, 2014
Messages
1,111
1. Can someone pls tell me cmds for looking into FTP config
The location of the config file is /usr/local/etc/proftpd.conf.

2. Any other ideas to force the FTP into binary mode
According to the proftpd docs that's the correct toggle for the transfer mode [ascii | binary].

Check the config file and if the aux parameter isn't set I would open a bug report.
 

Mlovelace

Guru
Joined
Aug 19, 2014
Messages
1,111
I just tested this on one of my freeNAS servers and it appears to correctly take the configuration change.

Code:
root@clnas:~ # cat /usr/local/etc/proftpd.conf | grep binary
DefaultTransferMode binary

proftpd.JPG
 
Joined
Feb 27, 2019
Messages
3
Thanks Mlovelace.
Yes, I can see it in proftpd.conf now - Had some help from a coder :)

So, the remote system is still not connecting correctly.
What happens is an PDF is uploaded into the app via web browser, the app then renames it and sent it to the FreeNas via FTP along with a thumbnail it generates = all working fine.
Then the bit that does not work, when the web app is viewed again, it goes off the FreeNas to look for the generate.png file (which is there).
The app people say the .png file is being delivered back in ASCII mode and thus the app does not read it properly and then does not render it in the browser.
 
Top