network.download() over EDGE

This doesn’t seem to be working? I’m trying to download a database file from my server using an EDGE-network, not 3G or WiFi but it’s not working? I thought as long as you had an internet connection it would download? Anyone knows if this can be worked out somehow?

Thanks in advance, [import]uid: 14018 topic_id: 20861 reply_id: 320861[/import]

Should probably explain what EDGE is, not sure if it’s used worldwide or if it’s only used here in Sweden but whenever you don’t have a “3G” connection, the device can connect to a much slower connection provided by the carrier over here called EDGE/GPRS. It’s displayed as a small circle in the statusbar instead of “3G” or the WiFi symbol [import]uid: 14018 topic_id: 20861 reply_id: 82222[/import]

Anyone? [import]uid: 14018 topic_id: 20861 reply_id: 82315[/import]

I think it should work. At least on iOS, I think we had an issue where somebody was sending large amounts of data over the network on EDGE and Apple rejected the app because it violated the bandwidth rules. We had to add the network.reachability APIs to accommodate these apps so they new to reduce/stop the network traffic on an EDGE transition.
[import]uid: 7563 topic_id: 20861 reply_id: 82321[/import]

@ewing, thanks for the reply… the files im downloading are a total of about 700kb, so they are not that big… It works perfectly over WiFi, over 3G, over that “E” network you get when you disable 3G and WiFi, but when the GPRS icon shows in the statusbar it doesn’t work… I did my testing on an iPhone 4S. Tomorrow I will try test on the iPhone 4, 3GS and some more iPhone 4S’s to see if this is the issue on all devices, I’ll post the results here

Thanks again, [import]uid: 14018 topic_id: 20861 reply_id: 82377[/import]

Can’t really offer any help related to GPRS, but I will say that the “E” network is the Edge network. At least on AT&T. [import]uid: 17827 topic_id: 20861 reply_id: 82637[/import]

Bumping this thread again, sorry I could not return with results earlier but I just tested it on a 3GS, 4, iPad 2 and 4S and it seems to be like this on all devices… I can’t download the 4 database files that make up 700kb in total over GPRS…

Anyone else using network.download that can check if it’s only me or if this is an internal bug? [import]uid: 14018 topic_id: 20861 reply_id: 85110[/import]

Bumping this, can’t seem to get it to work… It just wont download the file over GPRS… [import]uid: 14018 topic_id: 20861 reply_id: 86565[/import]

hi - i had the same problem,
solved it by using network.request and file:write instead.

cheers,
warren [import]uid: 133156 topic_id: 20861 reply_id: 104457[/import]