I am having a few problems though. Each time I add a user this way, the directory never gets set up. Also after I manually set up the directory and try to enter the ftp, it says: username and password not matched. When I disable the password, I enter the ftp with no problems at all.

To sum up I have 2 problems: 1) although I specify the password in the add user, it does not seem to be taken. (I try and change the password manually but to no effect)2) the directory is not being inputted when adding a user through command line.

I would also like to add, to troubleshoot this problem I have been trying to use c_GetUser(string strDomain,string strUsername). Unfortunately I cant seem to be able to print out the table from this output using LUA so I could check what password is being stored.

I have edited my last question though as I need to use that output in an asp script and I am not sure how to do that. Is this possible? How can we handle the return values of these options such as c_UserExist?