Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > FTPWebResponse stream to Response.OutputStream?

Reply
Thread Tools

FTPWebResponse stream to Response.OutputStream?

 
 
Chris Ashley
Guest
Posts: n/a
 
      10-01-2007
I'm using FTPWebRequest/FTPWebResponse to access a file over FTP,
which I then want to send to the Response.OutputStream. How can I do
this? I know I could populate an array of bytes in memory from the
stream and then send that to the Response, but that solution isn't
really viable due to the size of some of the files.

 
Reply With Quote
 
 
 
 
Kevin Spencer
Guest
Posts: n/a
 
      10-02-2007
You can either do that, or save the file (temporarily if desired) and write
it to the output stream.

--
HTH,

Kevin Spencer
Microsoft MVP

DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

"Chris Ashley" <> wrote in message
news: oups.com...
> I'm using FTPWebRequest/FTPWebResponse to access a file over FTP,
> which I then want to send to the Response.OutputStream. How can I do
> this? I know I could populate an array of bytes in memory from the
> stream and then send that to the Response, but that solution isn't
> really viable due to the size of some of the files.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert DVD with subtitle stream to DivX with same subtitle stream(selectable) malise Software 2 04-17-2007 09:15 AM
what is the different between byte stream and character stream? dolphin Java 6 03-18-2007 01:58 PM
get stream mode flags from an opened stream Alexander Korsunsky C++ 1 02-17-2007 10:38 AM
How to GET multi-word input from a *file* stream as opposed to a *console* stream? sherifffruitfly@gmail.com C++ 9 04-27-2006 04:14 PM
Doing readline in a thread from a popen4('rsync ...') stream blocks when the stream ends. Rasmusson, Lars Python 1 04-30-2004 08:10 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57