Please help me.

tm800720

New member
Joined
Jan 7, 2009
Messages
2
Hello.
Please help me.

I am using DirectAdmin.
When I add the user, the directory named public_ftp is made by the automatic
operation.
We do not offer the function of an anonymous FTP.
I want that the public_ftp directory is not made by the automatic
operation.
To avoid the user's confusion.

Does the method exist?

Regards.
 
You can create a script to run after domain creation, which will delete the directory.

Search these forums for more information.

Jeff
 
You want to search for custom scripts. They have to be located in /usr/local/directadmin/scripts/custom
 
Very Very Very Thanks!!!!!!!!!!!

I worked based on the taught thing.
It succeeded. :):):):):):):):):):):):)
We wish to express our gratitude to you.

I made the following file. (very simple♪♪♪♪♪♪)
--------------------------------
/usr/local/directadmin/scripts/custom/domain_create_post.sh
--------------------------------
#!/bin/sh
rm -rf /home/${username}/domains/${domain}/public_ftp
--------------------------------
 
Hey I am newbie can you explain more please? how to do that?
 
Hey I am newbie can you explain more please? how to do that?

The file name and path are given. The contents of the file are given. The only thing left to do is take control of your keyboard and actually type it for you.
 
Back
Top