You are not logged in.

#1 2009-10-14 22:04:08

L0lcat
Member
Registered: 2009-10-14
Posts: 2

[SOLVED] ProFTPd and directories containing brackets []

Hi there!
I'm fairly new to Archlinux (used Debian kinda a lot a couple years ago) but I built a new box and wanted to try something new :-D

Anyway, I'm setting up a home server and for the FTP server I choose ProFTPd (someone told me that it was easy to set up with virtual users)
I got the server up and running, but somehow I cannot access directories that have brackets ( [] ) in their filenames.

Now, my Windows machine (with BulletProof FTP) allows those directories perfectly.

So my question, is this something that is handled by ProFTPd or Archlinux itself? (I don't wanna destroy my ProFTPd yet, if it's needed I'll switch to a different FTP server ;-) )

Thanks in advance!

Cheers!

Last edited by L0lcat (2009-10-15 17:21:51)

Offline

#2 2009-10-15 17:21:39

L0lcat
Member
Registered: 2009-10-14
Posts: 2

Re: [SOLVED] ProFTPd and directories containing brackets []

So I solved it!

It had to do with the MLSD command new FTP clients use.
ProFTPd v1.3.2rc1 (15th April 2008 release) and up does support the MLSD command, but you have to enable it. Here's how:

Add to your:

/etc/proftpd.conf

The following lines:

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

Execute a final:

/etc/rc.d/proftpd restart

And you're all done!

:-D

Cheers!

Offline

Board footer

Powered by FluxBB