| | | Forum Newbie
       
Group: Forum Members Last Login: 12/8/2008 10:47:55 AM Posts: 7, Visits: 21 |
| Our website is hosted on Server A. An instance of WS_FTP Server is running on Server B. The website has a feature to create new FTP users. When the website and FTP service were running on the same server, we achieved this using the command line utility iftpaddu.exe. Having moved the FTP server to a dedicated server this approach is no longer valid.
Can anybody recommend an alternative approach?
Thanks,
Simon |
| | | | 
Forum Member
       
Group: Forum Members Last Login: Yesterday @ 4:18:02 PM Posts: 37, Visits: 46 |
| | One way this can be done: The user information provided thru the webpage on Server A, can be placed into a batch file that is being saved on Server B, Which can then be triggered by Windows Task Scheduler. For example: User inputs his information on the Web site: You can then echo this information from a batch file on Server A to the batch file on Server B echo C:\Program Files\Ipswitch\WS_FTP Server\iftpaddu.exe -add -h hostname -u %1 -p %2 > \\server_b\user.bat You should have a preconfigure Windows Schedule task to run the user.bat file. On the same batch on Server A , you can also run the Schedule task on Server B assuming both machines are either XP or Windows 2003. schtasks /run /tn TaskName [/s computer [/u [domain\]user /p password]]
Luis T. Ipswitch, Inc. Email Support: http://www.ipswitch.com/support/email_support.asp |
| | | | Forum Newbie
       
Group: Forum Members Last Login: 12/8/2008 10:47:55 AM Posts: 7, Visits: 21 |
| Thanks, I ended up using .NET remoting.
Simon |
| |
|
|