473,796 Members | 2,532 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File Upload Speed

I am having issues with the File Upload control for sending files to the
server via HTTP.

The speed of the upload is often between 20kbs and 40kbs. If I use the LAN
at work to the server, it runs over 2.3mbs. The slow speeds are when using
multiple providers including RoadRunner and DSL.

One test instance of a 40mb file showed it running at about 20kbs for about
halfway, then it burst up to 500kbs for the rest of the file.

Why? Is there a way to correct this behavior.

I've tested the uploads from IE6, IE7, and Firefox with the same results.

I'm having the problem whether I'm using the FileUpload control from
Microsoft in VS2005, or the Telerik control (which essentially uses the MS
control and adds extensible behavior to it).

Any help or clues are appreciated!

--
Mike Kober
Jan 12 '07 #1
2 6440
Are you getting 20 to 40 kilobits or kilobytes per second? Something to keep
in mind, DSL is damned slow for upload. Most consumer connections are
designed for speed in one direction, from the web server to your computer.
For most home users it's not a problem since they are not uploading with
frequency. Commercial accounts are a whole other story as they usually offer
more balanced results. Running into bursts of huge speed can be several
factors. One, it could simply be a miscalculation. For smaller files, or for
files that have some stumbling periods where the upload was stalled, it's
easy for it to seem like a ridiculous amount once it gets up to full speed.
Two, perhaps it cached some of the upload previously so it appears as if
it's moving faster when actually, since the file is in cache somewhere it's
appearing as if it's shooting it out the door faster. The most likely issue
though is simly the fact that your bandwidth is very limited upstream. 20 to
40 kilobits per second is very low. this is only 4 or 8 times greater than a
56k modem, wich is 5.6 kilobits per second. If it's 20 to 40 KiloBytes we're
talking a whole different order of magnitute and probably much closer to
what the DSL line's max limit is. For example, a DSL account that rates it's
connection speed as 384 to 512 kilobits per second is really about 40 to 50
KiloBytes per second. Those numbers tend to be more burst speed as opposed
to sustained speeds. A lot of broadband networks also have some limited
connection sharing at the main junction so that can also be limiting. In
other words, that number is affected by how many connections that are on
that block are actually active and in use. during high usage times that
number will diminish as the overall bandwidth is divided up among numerous
users. It sounds like you're actually pretty close to the norm for those
lines though so there's nothing really to worry about.
--

Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"Mike Kober" <mk****@wi.rr.c omwrote in message
news:45******** **************@ roadrunner.com. ..
>I am having issues with the File Upload control for sending files to the
server via HTTP.

The speed of the upload is often between 20kbs and 40kbs. If I use the LAN
at work to the server, it runs over 2.3mbs. The slow speeds are when using
multiple providers including RoadRunner and DSL.

One test instance of a 40mb file showed it running at about 20kbs for
about halfway, then it burst up to 500kbs for the rest of the file.

Why? Is there a way to correct this behavior.

I've tested the uploads from IE6, IE7, and Firefox with the same results.

I'm having the problem whether I'm using the FileUpload control from
Microsoft in VS2005, or the Telerik control (which essentially uses the MS
control and adds extensible behavior to it).

Any help or clues are appreciated!

--
Mike Kober

Jan 12 '07 #2
Some ISP providers "cheat" their customers about their upload speed.
Typically, download speeds are much faster and upload speeds can be up
to 1/10 of the download speed, but this fact is typically not
mentioned anyware. I recently found out a good way to measure upload
speed (I got the link from Digg)

Digg article:
http://news.com.com/2061-11200_3-610...ml?tag=newsmap

Actual site:
http://www.speedtest.net/

Here you can check out your upload speed and then contact your ISP. By
the way, I am also using telerik's r.a.d.upload control and it does
not usre the built-in file upload mechanism in ASP.NET, but rather an
AJAX based approach which can be much faster (depending on settings,
you can choose larger buffer for upload speeds). You can ask the
telerik guys for details in their support forums.

~Kevin

Mar 3 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3930
by: matt | last post by:
I have compiled some code, some written by me, some compiled from various sources online, and basically i've got a very simple flat file photo gallery. An upload form, to upload the photos and give them a caption, storing the caption and filename in a text file. It's a bit buggy when removing the photos and captions from the file, and also in displaying them on the delete page. you can see it in action at www.4am.com.au/gallery/upload.php...
32
3738
by: Ray at | last post by:
I despise installing third party software on my workstations or servers. It is for this reason that I use componentless-upload for file uploads. This is no longer an option, and I have to purchase an upload component. For someone who hates third party software and also does not want any kind of nonsense "bonus" features like progress bars or whatever, can anyone recommend a component for me? The cost doesn't really matter. I am aware...
1
1961
by: Stevio | last post by:
I have a guy asking me about the speed of downloads from his web site. I use ASP code to send the download to the user, and the code I use is basically like this: FileName = Request.Form("FileName") Path = Server.MapPath(FileName) Set Upload = Server.CreateObject("Persits.Upload") Upload.SendBinary Path Set Upload = Nothing
6
2262
by: Bruno Piovan | last post by:
Hello, does anyone know how can I measure the upload speed with asp.net?? I would like to have button on a form and when the user clicks this button, it will show what is the upload speed. Any ideas? Thanks!
2
1530
by: Raj Dhrolia | last post by:
Hi, Can anyone suggest me best way to upload large files (>100-500MB) to my ASP.NET web application (IIS 6.0, Win 2K3). The problem we see with conventional method is that the session times out, and the entire file gets loaded in IIS memory and things get worst when couple of users upload 100s of MBs of file. The solution should also work with MAC browsers. Any pointers will be of great help. Thanks, Raj.
3
5064
by: Mike Kelly | last post by:
Hi. I've built a page using standard ASP.NET 2.0 features and when I upload a large file (>20MB) to our intranet server, I get a paltry 100KB/s on our 100Mb/s LAN. Simply copying the file, I get around 7MB/s. I'm using a FileUpload control on an .aspx page, and then I'm writing the MyFileUpload.PostedFile.InputStream off to a database. What can I do to speed up this uploading? Thanks in advance
12
7803
by: JMB | last post by:
Hello, I was wondering if anyone knew of any projects extending the inline upload progress bar to utilize an inpage image uploader with bar, without having to refresh or go to a seperate page, nor opening a second box for display of the progress bar. I had been using the MegaUpload that was adapted from Raditha's script at http://www.raditha.com/upload.php . The MegaUpload script I have been using takes the progress bar inpage,...
4
11124
by: bienwell | last post by:
Hi all, I developed an web page in ASP.NET to upload file into the server. In the Web.config file, I declared <httpRuntime executionTimeout="1200" maxRequestLength="400000" /> The MAX length is 129M or more for each file upload. I have 2 files upload at the same time. Therefore, I set the timeout is 20min and the size of file upload is 390MB (400,000 KBytes).
5
5878
dlite922
by: dlite922 | last post by:
Before you jump in front of the train, no I don't mean ISP wise. I know providers throttle speed towards download. This is in a two PC LAN and one user. one average PC is a RedHat 'LAMP' server and the other is an XP desktop. The same file that is uploaded is downloaded much faster (ie 1 minutes to upload, 5 seconds to download) Is it just how HTTP file uploads work? is it PHP? I've simplified my code to one file with one form and...
0
9527
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10172
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10003
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6785
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3730
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2924
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.