Hi! I am not C or lex guru. So please bear with me. Can you give me some light on how the -> retrive(cmd,name) <- works on ftpd.c . I am just trying block the downloads if directory is writable and later on I just want to log who down load or up load which files. Right now it logs like ...get /myfiel bytes=12000. thank you in advace for replies. awc