473,549 Members | 2,543 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP and Telnet

I need to communicate with a POP3 server using ASP.

Does anybody have any ideas how I can set up a telnet connection using
an ASP script?

There are some components out there, but my host won't allow them.
Thanks for any ideas, R

Jul 22 '05 #1
5 5847
Well a component would seem the best way to go here, if you are really
intent on using Telnet. Sounds like you need to find a host that will allow
them.

But perhaps a better option would be to take a step back and think about
what you are trying to acheive and why you would want to do this? You might
be able to get the data you want from this telnet system via a different
route or via some form of extract that you can then use for your ASP site in
a much more efficient way. An ASP page that is connected to a telnet
session might not be very responsive going forward - especially if you want
to keep that session open across multiple page requests for one user.
Assuming that you need to keep the telnet session open, how are you going to
handle interactions with the telnet session across the ASP session? You
wouldn't want to store this telnet component in a session variable for
instance and then have multiple users each using the component stored in a
session variable - your site will grind to a halt pretty quickly. You can't
store it at application level either. Are multiple users going to be using
your site at the same time?

Richard

"richardtinkler " <ri************ @yahoo.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
I need to communicate with a POP3 server using ASP.

Does anybody have any ideas how I can set up a telnet connection using
an ASP script?

There are some components out there, but my host won't allow them.
Thanks for any ideas, R

Jul 22 '05 #2
"Richard Hollis" wrote in message
news:ep******** ******@TK2MSFTN GP14.phx.gbl...
: Well a component would seem the best way to go here, if you are really
: intent on using Telnet. Sounds like you need to find a host that will
allow
: them.
:
: But perhaps a better option would be to take a step back and think about
: what you are trying to acheive and why you would want to do this? You
might
: be able to get the data you want from this telnet system via a different
: route or via some form of extract that you can then use for your ASP site
in
: a much more efficient way. An ASP page that is connected to a telnet
: session might not be very responsive going forward - especially if you
want
: to keep that session open across multiple page requests for one user.

Why would you need to keep the telnet session open?

<snip>
Jul 22 '05 #3
I would like to avoid using Telnet if I can, but haven't been able to
find any non-component alternatives? Any suggestions...? Thanks ,R
Richard Hollis wrote:
Well a component would seem the best way to go here, if you are really intent on using Telnet. Sounds like you need to find a host that will allow them.

But perhaps a better option would be to take a step back and think about what you are trying to acheive and why you would want to do this? You might be able to get the data you want from this telnet system via a different route or via some form of extract that you can then use for your ASP site in a much more efficient way. An ASP page that is connected to a telnet
session might not be very responsive going forward - especially if you want to keep that session open across multiple page requests for one user.
Assuming that you need to keep the telnet session open, how are you going to handle interactions with the telnet session across the ASP session? You wouldn't want to store this telnet component in a session variable for instance and then have multiple users each using the component stored in a session variable - your site will grind to a halt pretty quickly. You can't store it at application level either. Are multiple users going to be using your site at the same time?

Richard

"richardtinkler " <ri************ @yahoo.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
I need to communicate with a POP3 server using ASP.

Does anybody have any ideas how I can set up a telnet connection using an ASP script?

There are some components out there, but my host won't allow them.
Thanks for any ideas, R


Jul 22 '05 #4
What are you trying to do? Can you give more of an outline?

"richardtinkler " <ri************ @yahoo.com> wrote in message
news:11******** **************@ c13g2000cwb.goo glegroups.com.. .
I would like to avoid using Telnet if I can, but haven't been able to
find any non-component alternatives? Any suggestions...? Thanks ,R
Richard Hollis wrote:
Well a component would seem the best way to go here, if you are

really
intent on using Telnet. Sounds like you need to find a host that

will allow
them.

But perhaps a better option would be to take a step back and think

about
what you are trying to acheive and why you would want to do this?

You might
be able to get the data you want from this telnet system via a

different
route or via some form of extract that you can then use for your ASP

site in
a much more efficient way. An ASP page that is connected to a telnet
session might not be very responsive going forward - especially if

you want
to keep that session open across multiple page requests for one user.
Assuming that you need to keep the telnet session open, how are you

going to
handle interactions with the telnet session across the ASP session?

You
wouldn't want to store this telnet component in a session variable

for
instance and then have multiple users each using the component stored

in a
session variable - your site will grind to a halt pretty quickly.

You can't
store it at application level either. Are multiple users going to be

using
your site at the same time?

Richard

"richardtinkler " <ri************ @yahoo.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
I need to communicate with a POP3 server using ASP.

Does anybody have any ideas how I can set up a telnet connection using an ASP script?

There are some components out there, but my host won't allow them.
Thanks for any ideas, R

Jul 22 '05 #5
I need to put together a WebMail system which will allow me to send
using an SMTP component and retrieve via POP3.

Thanks for any help, R

Richard Hollis wrote:
What are you trying to do? Can you give more of an outline?

"richardtinkler " <ri************ @yahoo.com> wrote in message
news:11******** **************@ c13g2000cwb.goo glegroups.com.. .
I would like to avoid using Telnet if I can, but haven't been able to find any non-component alternatives? Any suggestions...? Thanks ,R
Richard Hollis wrote:
Well a component would seem the best way to go here, if you are

really
intent on using Telnet. Sounds like you need to find a host that

will allow
them.

But perhaps a better option would be to take a step back and think
about
what you are trying to acheive and why you would want to do this?

You might
be able to get the data you want from this telnet system via a

different
route or via some form of extract that you can then use for your
ASP site in
a much more efficient way. An ASP page that is connected to a
telnet session might not be very responsive going forward - especially if you want
to keep that session open across multiple page requests for one
user. Assuming that you need to keep the telnet session open, how are you going to
handle interactions with the telnet session across the ASP
session? You
wouldn't want to store this telnet component in a session
variable for
instance and then have multiple users each using the component
stored in a
session variable - your site will grind to a halt pretty quickly.

You can't
store it at application level either. Are multiple users going to
be using
your site at the same time?

Richard

"richardtinkler " <ri************ @yahoo.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.com.. .
> I need to communicate with a POP3 server using ASP.
>
> Does anybody have any ideas how I can set up a telnet
connection using
> an ASP script?
>
> There are some components out there, but my host won't allow

them. > Thanks for any ideas, R
>


Jul 22 '05 #6

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

Similar topics

2
50263
by: Dan | last post by:
I'm writing a simplistic telnet client in VB6 and I've run into a small snag. The program has a textbox to write in the string to be sent using ..SendData and has another textbox that displays what that server sends. When I first connect to the server (in this case, my university's smtp server), I get a response that the server acknowledges...
3
8653
by: Yannick Turgeon | last post by:
Hello all, I'm currently trying to pass commands to a telnet session and get the texte generated (stdin + stdout) by the session. The problem I get is that the Telnet.read_until() function seems to freeze after a couple of command. I did a simplify script that reproduce the problem each time (I'm using 2.3.4 on W2K):
4
11143
by: Donnal Walter | last post by:
On Windows XP I am able to connect to a remote telnet server from the command prompt using: telnet nnn.nnn.nnn.nnn 23 where nnn.nnn.nnn.nnn is the IP address of the host. But using telnetlib, this code returns the traceback that follows: import telnetlib host = 'nnn.nnn.nnn.nnn'
2
8263
by: john brown | last post by:
I'm telnetting into a router. Apart from the fact I can't seem to view the output when iniciating the session, I can't match one of the expressions using Net::Telnet. I can telnet into the router manually without a problem. I'm running a sniffer at the same time just to see what's happening behind the scenes. The computer does an ARP...
0
7262
by: CJ | last post by:
Can someone look at the code below and tell me whats going on? Here is the problem. I can successfully telnet one of our routers and successfully put in a command in the while statement, but when the loop goes around a second time, it gives me: "pattern match timed-out at c:\filename.pl line 21" It can't get past the waitfor statement...
2
4562
by: eight02645999 | last post by:
hi i am using a telnet session to simulate an authentication mechanism USER = "user" PASSWORD = "password" try: telnet = telnetlib.Telnet(HOST) telnet.set_debuglevel(5) telnet.read_until("login: ") telnet.write(USER + "\n") telnet.read_until("Password: ")
2
5171
by: thilandeneth | last post by:
i need to do telnet via a web server please give me a idia to initiate the project following requirements are needed 1 Create web based custom telnet client to communicate with remote destinations. must provide login security before make communication 2 telnet communication should not be a direct 1 to 1 communication and that must be as...
1
8530
by: perlxyo999 | last post by:
Hi , I have a problem doing manipulation (like split) in string comeing back from telnet commnd : $HOST = 'xxx'; $USER = 'yyy20'; $PASS = 'yyy-pass'; #$telnet = Net::Telnet->new($HOST); #$telnet->login($USER,$PASS); $telnet = new Net::Telnet (Timeout => 30, Prompt => '/ $/');
6
5493
by: sherrygomindes | last post by:
Hi I have written a perl script using the Telnet module. I need to remotely login in from one windows XP machine to another XP machine. But i get errors which i can't figure out the reason. Please someone help me its very very urgent. here is my code: #!/usr/bin/perl -w
17
7324
by: ravimath | last post by:
Dear all, I have written following script to loin to router bu it is showing error. #!c:\Perl\bin; use strict; use warnings; my $hostname = 'REMOVED FOR YOUR PROTECTION'; my $password = 'REMOVED FOR YOUR PROTECTION';
0
7730
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7491
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7823
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5381
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5101
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3509
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1956
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1068
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.