Proftpd log issue

Posted by ggenov on Stack Overflow See other posts from Stack Overflow or by ggenov
Published on 2010-06-14T21:09:30Z Indexed on 2010/06/14 21:12 UTC
Read the original article Hit count: 299

Filed under:

Hi, I'm developing an application where I read the current changes in certain folders on the server via FTP. The problem is that on files which begin with non-standart symbols as "~" the FTP server doesn't write full path name in the log Here is a part of my log:

myuser [14/Jun/2010:20:50:11 +0000] ::ffff:217.145.84.66 [STOR] [/home/myuser/public_html/galleries/~ajax-loader.gif]
myuser [14/Jun/2010:20:50:11 +0000] ::ffff:217.145.84.66 [MFMT] [-]
myuser [14/Jun/2010:20:50:11 +0000] ::ffff:217.145.84.66 [MLST] [-]
myuser [14/Jun/2010:23:50:11 +0300] ::ffff:217.145.84.66 [MLST] [-]
myuser [14/Jun/2010:20:50:11 +0000] ::ffff:217.145.84.66 [MLST] [-]
myuser [14/Jun/2010:20:50:12 +0000] ::ffff:217.145.84.66 [PASV] [-]
myuser [14/Jun/2010:20:50:12 +0000] ::ffff:217.145.84.66 [STOR] [/home/myuser/public_html/galleries/~~ajax-loader.gif                                                                                            ]
myuser [14/Jun/2010:20:50:12 +0000] ::ffff:217.145.84.66 [MFMT] [-]
myuser [14/Jun/2010:20:50:12 +0000] ::ffff:217.145.84.66 [MLST] [-]
myuser [14/Jun/2010:23:50:12 +0300] ::ffff:217.145.84.66 [MLST] [-]
myuser [14/Jun/2010:23:50:22 +0300] ::ffff:217.145.84.66 [DELE] []

As you can see, all operations work very well except [DELE] command.

My proftpd.conf file and its log's settings:

LogFormat               default "%U %t %a [%m] [%f]"
ExtendedLog             /var/log/proftpd ALL default
#SystemLog               /var/log/proftpd ALL default
#TransferLog             /var/log/proftpd ALL default

Does anybody have a solution for this issue ?

© Stack Overflow or respective owner

Related posts about ftp