Thank you for your help. It is almost but not quite working. On the site I have a directory named author, inside that directory is another directory, author_files. It is in this directory that a new directory is automatically created with new registration using the username as the directory name. I followed your suggestions and what now happens is that uploaded files are going the the first, author directory. As I said, almost there. Do you have any input on what I might be doing wrong?