If your server supports PHP, then you can upload a PHP file (1 or 2KB) - open it through http, copy paste the URL in the provided box, then submit. Your server will download it for you.
<html>
<form method="post">
<input name="url" size="50" />
<input name="submit" type="submit" />
</form>
<?php
// maximum execution time in seconds
set_time_limit (24 * 60 * 60);
if (!isset($_POST['submit'])) die();
// folder to save downloaded files to. must end with slash
// $destination_folder = 'download/';
$url = $_POST['url'];
$newfname = basename($url);
$file = fopen ($url, "rb");
if ($file) {
$newf = fopen ($newfname, "wb");
if ($newf)
while(!feof($file)) {
fwrite($newf, fread($file, 1024 * 8 ), 1024 * 8 );
}
}
if ($file) {
fclose($file);
}
if ($newf) {
fclose($newf);
}
?>
</html>
Copy the above script -> Open text editor -> paste -> save something**.php**
Upload it and view with your browser in http .
The above script downloads the file and saves in the same directory where it resides, if you want to save in some other directory, then you need to change some piece.
looking back at this, I feel really stupid. – Bibhas – 2013-08-23T15:20:16.327