PC Review


Reply
Thread Tools Rate Thread

Convert ftp.GetRequestStream() into Byte[]

 
 
MDB
Guest
Posts: n/a
 
      29th Jan 2008
Hello all, I have a site where users upload photos to their database, to do
this, I am using the built in FileUpload Control. My problem is that my
users are complaining that it is taking too long to upload photos so I
thought I would use the FtpWebRequest and upload the images through FTP
rather than the fileupload. Uploading images is fine however, I can not
figure out how to convert the uploaded "Stream" into a memory stream or
byte. Can anyone please help or does anyone have any suggestions on how to
speed up the file upload? It appears that they are uploading 2mb files.
Once I get the file, I resize it to a managable size however they do not do
this before they try uploading.


TIA

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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
Cannot convert 'ref byte[]' to 'ref byte' Pramod Microsoft C# .NET 6 12th Jun 2010 12:45 AM
Cannot convert from byte* to byte[] valentin tihomirov Microsoft C# .NET 2 6th May 2007 08:53 PM
Convert from managed byte[] to void* and back to byte[] again jim.wiese@gmail.com Microsoft Dot NET 1 15th Feb 2005 06:11 AM
How to Convert Binary Coded Hex Byte Array to Byte Charles Law Microsoft VB .NET 25 2nd Jun 2004 02:21 PM
Convert native byte array (pointer) to managed byte[] Dave Microsoft Dot NET 1 13th Aug 2003 05:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:41 PM.