Hi,

I am responsible for a big swedish book database and thanks proftpd we
are able to handle ftp in a safe and solid way.

I use sql for authentication and logging and especially with logging I
always found proftpd's usage of paths irritating. I have an old patch
that I usually apply to mod_sql.c and I would like to share & discuss
it here:

< if (session.xfer.p && session.xfer.path) {
---
> if (!strcmp(cmd->argv[0], C_RNTO)) {
> sstrncpy(arg, dir_abs_path(cmd->tmp_pool, cmd->arg, TRUE),

sizeof(arg));
> } else if (session.xfer.p && session.xfer.path) {


It's in the case 'F' statement inside resolve_short_tag() and will
increase
the information that is logged in case of an RNTO command.

Would be great to incorporate this change if you think it makes sense.

Andreas Pardeike

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?p...rge&CID=DEVDEV
_______________________________________________
ProFTPD Users List
Unsubscribe problems?
http://www.proftpd.org/list-unsub.html