|
-
Jan 8th, 2014, 04:27 AM
#1
Thread Starter
Hyperactive Member
Browser faster than protocol?
Hi,
I have recently tried various ways (even custom chillkat reference) of upload a file to a server via HTTP with POST command ... but nothing seems to be fast as a normal webbrowser (mozilla, chrome) upload speed?
Have you experienced the same thing? Why is that?
Cheers!
Thanks for helping me out.
-
Jan 8th, 2014, 12:04 PM
#2
Re: Browser faster than protocol?
They could be dividing the file into multiple chunks, opening a series of sessions, and sending different chunks out different sessions. Whether or not this happens, I have no idea.
My usual boring signature: Nothing
 
-
Jan 8th, 2014, 12:11 PM
#3
Re: Browser faster than protocol?
as a normal webbrowser (mozilla, chrome) upload speed?
There is, of course, no such thing as a normal browser upload. All the processing is done either within the webpage scripting or on its server and, as Shaggy said, that could involve any number of special techniques to speed the process. Either way it will be unique to the site.
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
-
Jan 9th, 2014, 04:06 AM
#4
Thread Starter
Hyperactive Member
Re: Browser faster than protocol?
I've checked with Fiddler...and what i've seen is only one request being made when uploading through a webbrowser interface (mozilla, chrome) ... but upload speed is darn fast!
I've simulated the exact same request within vbnet and the speed is just waaay slower....
EDIT:
Maybe it's about chunksize or something ....
Content-type: multipart/form-data, boundary=xxxx..... ?
Last edited by batori; Jan 12th, 2014 at 09:35 AM.
Thanks for helping me out.
-
Jan 12th, 2014, 09:35 AM
#5
Thread Starter
Hyperactive Member
Re: Browser faster than protocol?
bump?
Thanks for helping me out.
-
Jan 12th, 2014, 10:19 AM
#6
Re: Browser faster than protocol?
How are you measuring the speed of the different methods? How big is the file? Is there a reason you are using HTTP POST?
-
Jan 12th, 2014, 11:24 AM
#7
Thread Starter
Hyperactive Member
Re: Browser faster than protocol?
adding handlers...and when everything is done i check my uploaded files...which correspond to the progress of the app...
why am i using http...well im just simulating what i've got from fiddler when "intercepting" packets...and the same request is being made from browsers, therefore i incorporated in the app...but the upload speed is way way slower than the browser uploading speed (chrome,ecc)
Thanks for helping me out.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|