PDA

Click to See Complete Forum and Search --> : ASP Rookie wants to know if this is possible.


JoshT
Apr 27th, 2001, 06:25 AM
Yes, it is possible. There are probably better ways, but ASP works on HTTP, not neccessarily HTML, so you could send plain text files or even work out a way to communicate with custom HTTP headers in either direction.

OneSource
Apr 27th, 2001, 07:17 AM
for your response. There are probably better ways, but ASP works on HTTP, not neccessarily HTML, so you could send plain text files or even work out a way to communicate with custom HTTP headers in either direction. What are the "better ways" you are referring to? Can you, or anyone else, give me an example of how to "send plain text files" or "communicate with custom HTTP headers in either direction?" If no examples are forthcoming, can you please provide a reference where I can find some more info?

Thanks.

JoshT
Apr 27th, 2001, 11:14 AM
What are the "better ways" you are referring to?

Maybe SOAP or DCOM or whatever technology being hyped at the moment. There's lots of way to solve your problem.

Can you, or anyone else, give me an example of how to "send plain text files" or "communicate with custom HTTP headers in either direction?"

In ASP, you can use Response.ContentType = "text/plain" to specify you are sending a text file, have your client program request this ASP page, then process it like you would a standard I/O text-file. Look into the Internet Transfer Control or Winsock to replace the web browser.

OneSource
Apr 27th, 2001, 07:47 PM
for the info, JoshT. I've already started reading up on ASP and feel confident that I'll be able to do what I need to do.

Thanks again.