Catch and manage IIS codes

  • Thread starter Thread starter Maurino
  • Start date Start date
M

Maurino

Hi all

I'm searching for a c# code to allow me, starting from a specific error
message (or IIS codes) from IIS, to run a specific action

Just to be more clear. I want this windows service waits for a specific
FTP Code and when this happens for a specific number of times in a
specified time, it sends me an email or stop FTP Server or something
like that

I didn't find any resource anywhere, can somebody help me?

Thanks Mauro
 
ftp code? If you have set up a ftp service and the client only need to type
the address ftp://.... to get your file so why code?

chanmm
 
Chan Ming Man ha scritto:
ftp code? If you have set up a ftp service and the client only need to type
the address ftp://.... to get your file so why code?

Sorry Chan, I wasn't complete in my description

I mean FTP Return code or Protocol status (c-status on IIS
description), for example:

2007-01-11 11:15:03 10.0.2.175 [7]USER anonymous 331 0 FTP -
2007-01-11 11:15:03 10.0.2.175 [7]PASS (e-mail address removed) 230 0 FTP -

230 is the c-status of "User Connected"

Thanks for your reply
 
Back
Top