| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Create New User on the FTP Server |
| raddad555 wblackwell@teleco.com From: decatur, GA USA Posts: 37 Member Since: 12/13/04 |
posted February 1, 2007 3:01 PM Does anyone know the best way to create a new user on the ftp server via code once connected to the ftp server with admin rights. |
| Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted February 2, 2007 10:17 AM Hello, You may use the Site method to send a Site command to an FTP Server. This command is used by the server to provide services specific to the system. All the server administrative tasks can be performed by the SITE command. You may use ADDUSER parameter so that a new user is added. The newly created user will have default parameters. If you are looking to change these attributes then I would suggest you to send the SETATTR command for the newly added user. I hope this is of help. Regards, Amit |
| raddad555 wblackwell@teleco.com From: decatur, GA USA Posts: 37 Member Since: 12/13/04 |
posted February 2, 2007 10:23 AM Yes I believe that would help I will try it out and get back to you thanks Amit |
| raddad555 wblackwell@teleco.com From: decatur, GA USA Posts: 37 Member Since: 12/13/04 |
posted February 2, 2007 2:32 PM Well its not going as well as I expected , it seems that the FTP server has not implemented many of the site commands , thus ftp1.command "site adduser xxxx xxxx " does not work. I get the parameter not implemented server response. |
| raddad555 wblackwell@teleco.com From: decatur, GA USA Posts: 37 Member Since: 12/13/04 |
posted February 2, 2007 2:43 PM Aslo by any chance is there a list of the site commands that are implemented in the FTP SErver software. I am looking for a new FTP server that handles me being able to add a user via code. |
| Raj From: Rome, NY, USA Posts: 389 Member Since: 02/01/06 |
posted February 5, 2007 2:35 PM Are you looking to create/use a Dart FTP server? Or other 3rd party FTP Server? -Raj |
| raddad555 wblackwell@teleco.com From: decatur, GA USA Posts: 37 Member Since: 12/13/04 |
posted February 9, 2007 8:10 AM Well I would have no problem using the dartFTP server but presently we are using a third party ftp server RaidenFTPD which allows for many site commands that have been implemented. I have it working in a manner that will only allow me to add the user delete the user change level of the user but not set the default home directory. I think my problem now is that the daemon which really isnt in this forum,gives me a 10013 error permission denied and I dont know why as it used to work. |
| Raj From: Rome, NY, USA Posts: 389 Member Since: 02/01/06 |
posted February 9, 2007 9:09 AM Daemon control is a part of Winsock tool; please post the issue in the appropriate thread. Also provide the details like: 1. Are you using hard coded ports in your app? 2. Do the Dart samples work? 3. Version of the controls that you are using. (Can be checked using the Dartnostics utility, from Start menu -- Programs -- PowerTCP -- <Dart Tool> -- Dartnostics) Regards, Raj |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|