Post Reply 
Help with proxy
Author Message
bboy_sonik
Byeeeeeeeeee

Posts: 132.3019
Threads: 8
Joined: 9th Aug 2007
Reputation: 0.76198
E-Pigs: 2.8344
Offline
Post: #1
Help with proxy
Hey guys

So I really want to download the new 4.01 update, but I have a proxy server that i need to use for internet access [part of my Vodafone plan] and it doesn't allow me to download files larger than ~8MB - i receive the message "Page is too large to send back".

Does anybody know of an online service [for free preferably] that can 'grab' files from another server and split them up, then giving me links to the download? I have searched and searched, and only found one possible solution which involves an expensive premium account with Megauplo@d......

Does anyone have any advice at all? I really want the new update :( thanks in advance!
06/07/2008 01:56 AM
Find all posts by this user Quote this message in a reply
Slushba132
BustyLoli-Chan

Posts: 3,125.3993
Threads: 508
Joined: 20th Feb 2008
Reputation: -8.27558
E-Pigs: 73.1299
Offline
Post: #2
RE: Help with proxy
...wouldn't it just be easier to get a better proxy or to change the download limiter on the one you have?

06/07/2008 02:07 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #3
RE: Help with proxy
Is it some HTTP proxy?  Mobile internet?

Does doing ranged requests work (ie use a download manager)?
How would a Megaupload Premium account work?

I'm guessing the HTTP proxy is checking the Content-Length and/or Content-Range header to do filtering.
(This post was last modified: 06/07/2008 02:41 AM by ZiNgA BuRgA.)
06/07/2008 02:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bboy_sonik
Byeeeeeeeeee

Posts: 132.3019
Threads: 8
Joined: 9th Aug 2007
Reputation: 0.76198
E-Pigs: 2.8344
Offline
Post: #4
RE: Help with proxy
Slushba132 Wrote:...wouldn't it just be easier to get a better proxy or to change the download limiter on the one you have?

- There is only one proxy to 'get' which is the official one for my cellular provider; if i do not have this specific proxy defined then i cannot access the internet at all. It also blocks everything that isn't HTTP/Port80 [so no torrent, POP3, P2P, etc] but that doesn't bother me too much.

Chicken Strips Wrote:Is it some HTTP proxy?  Mobile internet?

- Yep.

Quote:Does doing ranged requests work (ie use a download manager)?
How would a Megaupload Premium account work?

- Yes i can use ReGet and other download managers, as long as i set the 'Query Filesize on first connection' [or equivalent] and max simultaneous connections to 1 [i.e. single connection]. This however, does not circumvent the filesize restriction i have.
- Megaupload premium accounts support 'grabbing' files from another server straight to your storage; kinda like downloading right into your megaupload account. Someone told me that the UserCP can then split files that are in your storage box to smaller chunks [probably uses file.part##.rar or some other method]. It does it all remotely for you. I actually found some more similar services, but none for free [i would assume as much, it can be easily abused if it were free]. Bummer

Quote:I'm guessing the HTTP proxy is checking the Content-Length and/or Content-Range header to do filtering.

I assume so yes. On my ReGet download log it never returns the 'real' size/length of the file - just the 624-byte size of the HTML file 'page is too large...' so obviously it is all happening at the proxy end as soon as i make a request for a particular file...


I don't think i can really do anything about it, short of hacking the proxy [no way] because its all happening non-local... but thanks heaps for your help. Guess I'll have to take Slushba132's obvious advice and put up with it until I choose to actually pay for internet access [yeah this one is free with my phone plan :P]

Thanks again!
06/07/2008 03:41 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #5
RE: Help with proxy
So it's a HTTP proxy which appears to be checking both the Content-Length and Content-Range headers.

Free?  Yes, you can sign up to free webhosting services which give about 200MB (or more) free storage.  Use PHP scripts to grab and save the files, then use scripts to split up the file.
Alternatively, you could write up a proxy script which splits on the fly.


EDIT:
Or, if it is indeed relying on the Content-Length header to be accurate, write a proxy, and don't send the Content-Length header (this will cause your browser to not know the size of the file, so you won't get a download progress bar)
[afterthought: not a bad idea :P]

EDIT 2:
You can try this one if you want (I haven't tried it yet):

PHP Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

$file = $_GET['f'];
if(!$file) die('You must specify an URL to retrieve');
$fname = substr($file, strrpos($file, '/')+1);
$fp = fopen($_GET['f'], 'rb');
if(!$fp) die('Couldn\'t retrieve remote file.');

header('Content-Type: application/octet-stream');
header('Content-Disposition: attachment; filename="'.$fname.'"');
fpassthru($fp);

fclose($fp);

?>

Save the file as p.php, upload it to a free PHP hosting service (ie FreeHostia) and access the page via something like this:

Code:
http://someplace/p.php?f=http://target/link

(This post was last modified: 06/07/2008 05:00 AM by ZiNgA BuRgA.)
06/07/2008 04:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
bboy_sonik
Byeeeeeeeeee

Posts: 132.3019
Threads: 8
Joined: 9th Aug 2007
Reputation: 0.76198
E-Pigs: 2.8344
Offline
Post: #6
RE: Help with proxy
Hey wow thanks SO MUCH dude! I'll whack that and see if i can't get it working eh? I'll let you know how i go... thanks again!
06/07/2008 10:41 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

 Quick Theme: