JavaSonics

SDK

Documentation


Web Home

SDK Home

Docs

Test PHP

Examples

Demos

Purchase

Support

Login

Contact Us

Company


Writing Server Scripts with ASP.NET

Use Plain Text

The first thing you must do in your ASP script is to set the content type to plain text. This simplifies the text that is sent back to ListenUp, making it easier to parse. These header values must be set before you send any other text! Here is some ASP code that may work for you:

response.ContentType = "text/plain"
response.Charset = "ISO-8859-1"

Receiving Uploaded Files

Terry Ferris offers this simple example that uses the "System.Web" Namespace from Microsoft:

 Dim File As System.Web.HttpPostedFile = Request.Files(0) 
 File.SaveAs(FilePath & File.FileName) 

This techique is described in more detail in these articles:

How do I upload a file from my ASP.NET page?
http://www.programmersheaven.com/2/FAQ-ASPNET-File-Upload

File Upload with ASP.NET By Konstantin Vasserman
http://www.codeproject.com/aspnet/fileupload.asp

Other resources for receiving uploaded files include:

[Top] [Previous][Next]

© 2001-2006 Mobileer, Inc.