[Proftpd-user] Forbidden command argument

Manuel Almayate <[email protected]>
Newsgroups gmane.network.proftpd.user
Message-ID <[email protected]>
Hi.
I have the following problem, when intense uploading a file that has 
blank spaces in the name, gives the error "Forbidden command argument"

How can I solve that?


Attached configuration file proftpd.conf


Greetings and thanks.


---
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus

_______________________________________________
ProFTPD Users List   <[email protected]>
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html
proftpd.conf.txt (text/plain, 4.2 KB)
ServerName                      "Casa"
ServerType                      standalone
AllowOverride                   off
DefaultServer                   on
ServerIdent                     off
UseReverseDNS                   off
IdentLookups                    off
DisplayConnect                  /usr/local/etc/issue.ftp
DisplayLogin                    /srv/ftp/mensajes/welcome.msg
#DisplayLogin                    /usr/local/etc/welcome.msg
#DisplayChdir                    /usr/local/etc/.message
ScoreboardFile                  /var/run/proftpd.score
ListOptions                      +R strict
TimesGMT                        off
AllowRetrieveRestart            on
ShowSymlinks                    off
DenyFilter                      [^*/A-Za-z0-9_.-]
ListOptions                     "-l"
WtmpLog                         off
PassivePorts                    57000 58000

# Lockdown connections and connection attemps.
MaxClients                      80 "Maximum of %m users are already connected."
MaxInstances                    80
MaxClientsPerUser               80
MaxHostsPerUser                 80
MaxClientsPerHost               80 "Maximum of 80 clients per host allowed."
MaxLoginAttempts                1 "Intentos de contraseñaermitidosantes de la >
RequireValidShell               no
DefaultRoot                     ~
# Lockdown command send/recieve sizes and type.
PassivePorts                    49152 65534
SocketOptions rcvbuf            8192
SocketOptions sndbuf            8192
CommandBufferSize               512

# Limit login times and timeouts to drop dead clients.
TimeoutLogin                    60
TimeoutIdle                     150
TimeoutNoTransfer               150
TimeoutStalled                  150

# Log format and location
TransferLog none

## Normal Mode
#LogFormat awstats "%t %h %u %m %f %s %b"
#ExtendedLog /var/log/xferlog read,write awstats

## Debug Mode for testing
# LogFormat debug "%t %a %A %U %r %D %s %F %b %T"
# ExtendedLog /var/log/xferlog all debug

# No ftp user ever needs root
RootLogin                       off

# Port 21 and umask 022
Port                            21
Umask                           022

# Set the user and group that the server normally runs at.
User                            nobody
Group                           nobody

# Setup fake properties if needed.
DirFakeGroup                    On
DirFakeUser                     On
DirFakeMode                     0400

# Limit ftp logins to the internal lan.
# <Limit LOGIN>
#  Order                 allow,deny
#  Allow                 from 10.10.
#  Deny                  from all
# </Limit>

<Global>
  # Limit CHMOD everywhere in the anonymous chroot
        <Limit SITE_CHMOD>
                DenyAll
        </Limit>
        <Limit EPSV EPRT PORT>
                DenyAll
        </Limit>
</Global>

# Normally, we want files to be over write able.
<Directory /*>
  AllowOverwrite                on
</Directory>

# Log format and location
#TransferLog none
#LogFormat awstats "%t %h %u %m %f %s %b"
#TransferLog /var/log/transferlog read,write awstats

## Normal Mode
#LogFormat awstats "%t %h %u %m %f %s %b"
#ExtendedLog /var/log/xferlog read,write awstats

#Fichero log
#LogFormat awstats "%t %h %u %m %f %s %b"
#SystemLog   /var/log/proftpd/systemlogProftp read,write awstats

<IfModule mod_facts.c>
        FactsAdvertise off
</IfModule>

# <Directory />
#    # Hide files whose names start with "."
#    HideFiles ^\.
#
#    <Limit LIST MLSD NLST>
#      # Do not include hidden files for LIST, MLSD, and NLST
#      IgnoreHidden on
#    </Limit>
#  </Directory>
#----------------------------------------
 <IfModule mod_dso.c>
    # If mod_tls was built as a shared/DSO module, load it
    LoadModule mod_tls.c
  </IfModule>

#       /usr/local/etc/proftpd/ssl/proftpd.cert.pem
#       proftpd.cert.pem
#       proftpd.key.pem

<IfModule mod_tls.c>
    TLSEngine on
    TLSLog /var/ftpd/tls.log

    # Support both SSLv3 and TLSv1
    TLSProtocol SSLv3 TLSv1

    # Are clients required to use FTP over TLS when talking to this server?
    TLSRequired off

    # Server's RSA certificate
        TLSRSACertificateFile /usr/local/etc/proftpd/ssl/proftpd.cert.pem
        TLSRSACertificateKeyFile /usr/local/etc/proftpd/ssl/proftpd.key.pem
        TLSVerifyClient off
        TLSRequired on
</IfModule>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.