Groups | Blog | Home
all groups > iis ftp > october 2006 >

iis ftp : retrieve ftp user name programmatically


Avi
10/25/2006 11:08:25 AM
Hi all,



I'm trying to retrieve programmatically the ftp user (IUSR_computerName). I
know it is possible to use the IUSR_ and add the computer name, but it will
not work for cases where the computer name changed.



Is there a way to retrieve the name with C# or anything else?



Thanks,

Avi

Bernard Cheah [MVP]
10/26/2006 12:00:00 AM
Not in ftp mode, right?
I don't know c# syntax.. anyway if you can access the ftp metabase.
look for this key - anonymoususername, underneath the msftpsvc or each ftp
site root path.


--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


[quoted text, click to view]

AddThis Social Bookmark Button