473,326 Members | 2,125 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Catch and manage IIS codes

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

Jan 10 '07 #1
2 1304
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

"Maurino" <ma*************@9net.itwrote in message
news:11*********************@77g2000hsv.googlegrou ps.com...
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
Jan 11 '07 #2

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 ci**@www.it 230 0 FTP -

230 is the c-status of "User Connected"

Thanks for your reply
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
Jan 11 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Dmitriy Lapshin [C# / .NET MVP] | last post by:
Hi all, When a good developer should declare an exception variable in a catch clause? Consider an example: try { // Do something potentially dangerous... } catch(SomeException e)
7
by: BC | last post by:
Hi all, I have a method that accepts a string as the parameter. This can be a base64 image string, or just a normal string. Currently to test whether it's a image string or just a normal string,...
11
by: Li Pang | last post by:
Hi, I made a web site by using asp method. Now I set up framework.net in the web server. Since to convert asp into aspx is time consuming task, I'd like to keep the web site in asp, but I want...
7
by: Tiraman | last post by:
Hi , I am using allot the try catch in my code and the question is if it is good ? it will decrease my performance ? one more question
5
by: Patrick Dickey | last post by:
Hello, All! I'm modifying some source code that I downloaded from Planet-source-code a while back, and have a question about Try Catch statements. Basically, I'm wondering if I can do a Try with...
5
by: Back 9 | last post by:
I try to insert try/catch statement in every single method of my c# code to prevent the app from crashing not nicely. Do you think it is good idea? I remember that an artical says " do not overuse...
7
by: Daimler | last post by:
i am using visual c++ 2005 clr window form with try and catch a serial port readline. the codes are as follows: - try{ Form1::textBox1->Text = Form1::serialPort1->ReadLine();
6
by: rhaazy | last post by:
I am looking for some feedback on using try catch statements. Usually when I start a project I use them for everything, but stop using them as often after the "meat n' potatos" of the project is...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.