Endless Paradigm

Full Version: Help with proxy
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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!
...wouldn't it just be easier to get a better proxy or to change the download limiter on the one you have?
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.
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!
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:
<?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

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!
Reference URL's