Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I change NcFTPd so it doesnt create all those subdirectories when it logs?

0
Posted

How do I change NcFTPd so it doesnt create all those subdirectories when it logs?

0

You dont have to use the default logging specification (i.e. log-xfer=/var/log/ncftpd/%Y%m%d/@SETNAME@/xfer.%Y%m%d.%H). If you want just a single log directory, with daily logs rather than hourly logs, you just use something simpler, like log-xfer=/var/log/ncftpd/xfer.%Y%m%d. Repeat as desired with the misc and session logs. Also note that those cookies are just the same as you would use for date and strftime. See the man page for strftime to see what time and date cookies you have available.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123