Change FTP DefaultTransferMode to binary

gamershadian

Cadet
Joined
Jan 9, 2019
Messages
2
When I add in Auxiliary parameters: DefaultTransferMode binary it doesn't overwrite the line in the proftpd.conf file. It adds a line item later on in the conf file and doesn't change the default bahavior. How am I supposed to make this change?


ServerName "servername.domain"
ServerType standalone
DefaultServer on
DefaultAddress localhost
UseIPv6 on
Port 21
User nobody
Group nogroup
Umask 066 027
SyslogFacility ftp
MultilineRFC2228 off
DisplayLogin /var/run/proftpd/proftpd.motd
DeferWelcome off
TimeoutIdle 600
TimeoutLogin 300
TimeoutNoTransfer 300
TimeoutStalled 3600
MaxInstances none
MaxClients 30

MaxLoginAttempts 3
DefaultTransferMode ascii
AllowForeignAddress off

IdentLookups off
UseReverseDNS off


<Limit LOGIN>
AllowAll
</Limit>

<Global>
RequireValidShell off
DefaultRoot ~ !wheel
# RootLogin on
AllowOverwrite on
# AllowRetrieveRestart on
# AllowStoreRestart on
DeleteAbortedStores off


TimesGMT off
</Global>
<IfModule mod_ban.c>
BanEngine off
BanControlsACLs all allow group wheel
BanLog /var/log/proftpd/ban.log
BanMessage Host %a has been banned
# -m "mod_ban/rule"
# -v "concat(' BanOnEvent ',event,' ',occurrence,'/',timeinterval,' ',expire)" -n
# -b
BanTable /var/run/proftpd/ban.tab
</IfModule>

DefaultTransferMode binary
<IfModule mod_delay.c>
DelayEngine on
DelayTable "/var/run/proftpd/proftpd.delay"
</IfModule>

<IfModule mod_wrap.c>
TCPAccessFiles /etc/hosts.allow /etc/hosts.allow
TCPAccessSyslogLevels info warn
TCPServiceName ftpd
</ifModule>
 

Attachments

  • freenasftp.jpg
    freenasftp.jpg
    16.4 KB · Views: 409
D

dlavigne

Guest
That's a really old version. Does updating to 11.1-U6.3 (the latest on the 11.1 branch) resolve the issue?
 
Top