FTPWebResponse stream to Response.OutputStream?

  • Thread starter Thread starter Chris Ashley
  • Start date Start date
C

Chris Ashley

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.
 
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
 
Back
Top