View Single Post
Old 10-19-2010, 12:50 PM  
Yil
Too much time...
 
Join Date: May 2005
Posts: 1,194
Default

There are several options...

Use a C# FTP script to send raw commands to the FTP to adjust the user's hostmask based upon the IP IIS sees they are connecting from... You aren't limited to addip/delip stuff here, you could simple pass the IP to a custom TCL script you wrote and have that script make any modifications and return what it did. This would allow you to do anything you wanted.

Check out the source/Window.Messages.And.Shared.Memory example and the ioFTPD source code in DataCopy.c to see how to exchange/modify userfiles via shared memory. Then just write a simple C/C++ dll and call that from C# directly.
Yil is offline   Reply With Quote