Mobile app version of vmapp.org
Login or Join
Vandalay111

: How do I prevent ISPs from killing downloads of files in mid-transfer? I run a small website with a few users, low traffic, mostly to share personal mp3 files with a small community. Depending

@Vandalay111

Posted in: #Download #Streaming #Transfer

I run a small website with a few users, low traffic, mostly to share personal mp3 files with a small community.

Depending on their ISP, my users can't always download or stream larger files. By larger I mean larger than 1MB. Essentially the host either stops sending, or the client stops receiving. One of the links along the connection chain simply ends its connection before the transfer completes

Trace-route shows no connection issues. There are no connection issues with short transfers that don't take more than a few seconds. It's these 10 second transfers that just end up ending.

Just doing a straight download with a direct link can yield this error if you have the wrong ISP.

Strangely enough, this is most common with users with ISPs who are essentially independent providers that buy service via a fiber link. Unfortunately these providers aren't very knowledgeable, are unable to do any testing, and insist it's a problem with the host.

I have gotten my host to transfer my site to different servers of their, to the same effect. Nearly identical sites (affiliate sites actually) experience no such issue.

What can I be doing to further troubleshoot this matter? How can I prove that someone is dropping the ball, and identify who that party is? Can I do a 5Mb traceroute?

EDIT

Maybe I can clear up some misconceptions with my question:


The files are not very large. They are simply over 2Mb.
The users do not have "slow" connections, they are at least 5mbps.
This "time out" happens very quickly, in the realm of 5 seconds, so
I don't know if it's a timeout or not. The user often gets 1 or 2Mb
in this chunk of time.
I have tried streaming with a flash player.
I have tried saving the target. Forcing the download.
I have tried allowing the browser to stream the file.
I have tried different browsers (FF, IE, Chrome).
Users are able to download identical files when on different hosts.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Vandalay111

1 Comments

Sorted by latest first Latest Oldest Best

 

@Gretchen104

It very well may be a problem on both sides but downloading a large file over a slow connection (which is what a straight link is) can result in a timeout from either side. You say above that it's not a streaming issue but you aren't actually streaming anything at this point.

I can think of two things that might help. The first (and most likely best) option is to enable streaming over HTTP via the use of a media player such as the excellent and simple to implement JW Player. This will change the behavior from straight download to chunked stream with buffering. The smaller chunks should ensure a smooth connection all the way through, even for users at lower bandwidth.

The second option involves checking your MIME types to make sure they are optimized to force the media files to download and not to try to play them or stream them without the proper infrastructure. I've found that the simplest way to make this happen is to zip the media files before (or after, via script) upload and link to the zip files. MIME types and browsers are almost always set to force the download of a zip file and this may work better for your users.

Still, I would investigate adding streaming over HTTP first.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme