Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 12th, 2005, 06:12 AM
Authorized User
 
Join Date: Jun 2004
Posts: 54
Thanks: 0
Thanked 1 Time in 1 Post
Default How to convert HttpPostedFile to FileStream

Hi there,

I want to read Httppostedfile directly into FileStream without saving it to the disk. as Httppostedfile is already in stream format, I don't want that file to be saved and again read from the disk to FileStream. How to avoid these steps (Saving file to disk and again reading it into FileStream) and straight a way read it into filestream.

Thanks in advance

Vinod Pawar
India
__________________
Vinod Pawar
United States
 
Old August 13th, 2005, 04:21 AM
joefawcett's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Well you already have the xmlHttp.responseStream, you can use that or load it into an adodb.stream for more flexibility.

--

Joe (Microsoft MVP - XML)





Similar Threads
Thread Thread Starter Forum Replies Last Post
FileStream vs StreamWriter Makolyte C# 2005 0 June 22nd, 2007 01:22 PM
how to convert ???? bobolov Classic ASP Basics 2 June 15th, 2006 12:58 PM
convert ngang SQL Server 2000 7 November 21st, 2003 06:03 PM
convert ngang SQL Language 1 November 21st, 2003 05:47 PM
SOS : FileStream Fileaccess Problem! aravinthan VS.NET 2002/2003 0 August 1st, 2003 05:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.