Welcome Guest.   Make a donation to an author on the site November 26, 2014, 12:45:31 PM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Check out and download the GOE 2007 Freeware Challenge productivity tools.
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: NANY 2011 Release: Partial Download  (Read 10859 times)
anandcoral
Honorary Member
**
Posts: 241



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« on: December 28, 2010, 12:33:25 PM »

NANY 2011 Entry Information

Application Name Partial Download
Version 1.0.2
Short Description Downloads first few bytes of a given url.
Supported OSes Windows with Command Prompt support
Web Page https://sites.google.com/site/partialdownload/
Download Link Click on "Download" on main web page
System Requirements
  • WinXp or higher with Command Prompt support
Version History
  • 1.0.2, Console mode for background download
Author Anand K Gupta


Description
You see I needed an application to "partial download" a file, specially large movie file, from a given url.

Reason: This is a season of wishing each other and sending some thing to smile big or small. My mail group and individual friends send me sometimes movie file, which contains, say a funny situation of a couple on gift purchase. I do smile after watching it. So far so good. Now the problem is, another of my friend sends me the same movie but in different name and he writes only "Enjoy!". This file happens to be 84MB!! Just imagine my face after downloading on paid connection, I find the same movie, albeit in better and bigger resolution, but same.

So I need to download the first few bytes, say 1MB, of the same and check it in GOM Player. If I have watched it earlier or if it is not of my liking, I will not download it.

I searched and could not find any file down-loader which I can tell to download just 1MB or so of the file. If I cancel a download in middle, the file gets deleted. Forget about using it as background job.

Solution: I made "Partial Download" console application. This is a console application and so requires CMD (Command Prompt) support to run.

Features
Downloads first few bytes of given url. Best for partially downloading a huge movie file and checking it for it worthiness to download full.

Planned Features
Depends on feedback

Usage
Installation
Unzip zip file in a folder of your choice and run the exe in a console window (command prompt).

Using the Application
Syntax:
"partial download" url [bytes_to_download]
where bytes_to_download defaults to 1.5 MB

Example:
"partial download" http://filehost.com/abcd.flv
"partial download" http://filehost.com/abcd.flv 1500000


Uninstallation
Delete the folder you unzipped the exe in.

Known Issues
Do not have any window/GUI interface
Logged
kyrathaba
N.A.N.Y. Organizer
Honorary Member
**
Posts: 3,015



while(! dead_horse){beat}

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: December 28, 2010, 02:50:28 PM »

Hey, you know that really is a good idea!  I wish I'd had something like that a couple of years ago, when I was downloading LOTS of movies.
Logged

Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 26.0
_________________________________________________________________________________________

I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF

My DC page: http://kyrathaba.dcmembers.com | My blog: http://williambryanmiller.com/ | Proofreading Service: http://bit.ly/1fQSqQP

anandcoral
Honorary Member
**
Posts: 241



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #2 on: December 29, 2010, 01:59:38 AM »

There are still goods movies left to download  smiley

Please use latest version 1.1.1 from the web site, as earlier version had bug in not downloading the file at all. My apologies if anyone tried to use the earlier version. Now it displays full information and shows download progress too, so that user can know, it is working.

Regards,

Anand
Logged
anandcoral
Honorary Member
**
Posts: 241



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #3 on: December 30, 2010, 11:12:21 AM »

Updated to 1.2.0

- Changed: Now shows progress '#' after multiple of 10KB download.
- New: Now shows total bytes downloaded, after completion.

Regards,

Anand
Logged
mouser
First Author
Administrator
*****
Posts: 33,699



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #4 on: January 01, 2011, 03:58:34 PM »

Congrats, Partial Download just got a write up at ghacks  thumbs up

http://www.ghacks.net/201...-download-part-of-a-file/

Logged
Cyeb
Participant
*
Posts: 50


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #5 on: January 01, 2011, 08:11:34 PM »

Haven't you heard of wget?  tongue
Logged
Stephen66515
Animated Giffer in Chief
Honorary Member
**
Posts: 2,786



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #6 on: January 02, 2011, 12:08:34 AM »

Quote
GNU Wget has many features to make retrieving large files or mirroring entire web or FTP sites easy, including:
  • Can resume aborted downloads, using REST and RANGE
  • Can use filename wild cards and recursively mirror directories
  • NLS-based message files for many different languages
  • Optionally converts absolute links in downloaded documents to relative, so that downloaded documents may link to each other locally
  • Runs on most UNIX-like operating systems as well as Microsoft Windows
  • Supports HTTP proxies
  • Supports HTTP cookies
  • Supports persistent HTTP connections
  • Unattended / background operation
  • Uses local file timestamps to determine whether documents need to be re-downloaded when mirroring
  • GNU Wget is distributed under the GNU General Public License.

@Cyeb: No specifics on "Partial Downloading" and not dedicated to that exact thing.

@anandcoral: Great tool, very very usefull indeed.  Ill be grabbing a copy of this for when I have to use my backup Mobile Broadband connection which is heavily limited and costs a lot to keep buying more usage.

I wonder if you could add "Partial Youtube Video Download" support, for the same reasons you made this.  Sometimes you get sent multiple links for the same thing, which has 8427289 different names on youtube, and, you cannot control how much it buffers, which, the more it buffers, the more usage I get charged for haha.  No problem if you cannot, it was worth asking cheesy

Logged

No trees were harmed during the creation of this message.  Millions of electrons, however, were terribly inconvenienced

"Think left and think right and think low and think high. Oh, the things you can think up if only you try!" - Dr. Seuss
Cyeb
Participant
*
Posts: 50


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #7 on: January 02, 2011, 06:10:22 PM »

My mistake...I meant to say cURL instead of wget.

[copy or print]
-r/--range <range>

(HTTP/FTP/SFTP/FILE) Retrieve a byte range (i.e a partial document) from a HTTP/1.1, FTP or SFTP server or a local FILE. Ranges can be specified in a number of ways.


http://curl.haxx.se/docs/manpage.html
Logged
Stephen66515
Animated Giffer in Chief
Honorary Member
**
Posts: 2,786



see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #8 on: January 02, 2011, 06:16:25 PM »

Either way, hes made this himself, therefor, it works the exact way he want it to, and theres never any harm in having several peices of software to do the same thing eh  tongue
Logged

No trees were harmed during the creation of this message.  Millions of electrons, however, were terribly inconvenienced

"Think left and think right and think low and think high. Oh, the things you can think up if only you try!" - Dr. Seuss
Cyeb
Participant
*
Posts: 50


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #9 on: January 02, 2011, 07:14:17 PM »

Yeah, I'll agree, it's pretty nice nonetheless.
Logged
anandcoral
Honorary Member
**
Posts: 241



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #10 on: January 03, 2011, 11:18:17 AM »

Thanks mouser for the gHacks link and thank you all for the encouragement. I feel honored.  smiley

@Cyeb, yes I have mentioned about wget on the web site, as similar but not with the partial option. I checked the curl web site but it also do not have this intentional partial download option. Please correct me if I am wrong. I did googled before developing "partial download" application, but could not find one.

@Stephen66515 thanks for feedback. I will try to implement youtube option.

I have the gui, download from file (having urls listed on separate lines) etc. option on drawing board, but I want NANY 2011 to complete first.

Anand
Logged
kyrathaba
N.A.N.Y. Organizer
Honorary Member
**
Posts: 3,015



while(! dead_horse){beat}

see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #11 on: January 03, 2011, 11:29:23 AM »

Congrats on the gHack recognition, Anand!
Logged

Win 7 Home Premium 64bit-SP1 AMD Athlon II X2 220 Socket AM3 (938) @ 2.1GHz 6GB RAM Firefox 26.0
_________________________________________________________________________________________

I'm fighting against patent trolls. Join me and tell your representative to support the #SHIELDAct: https://eff.org/r.b6JJ /via @EFF

My DC page: http://kyrathaba.dcmembers.com | My blog: http://williambryanmiller.com/ | Proofreading Service: http://bit.ly/1fQSqQP

Cyeb
Participant
*
Posts: 50


see users location on a map View Profile Give some DonationCredits to this forum member
« Reply #12 on: January 03, 2011, 09:55:30 PM »

@Cyeb, yes I have mentioned about wget on the web site, as similar but not with the partial option. I checked the curl web site but it also do not have this intentional partial download option. Please correct me if I am wrong. I did googled before developing "partial download" application, but could not find one.

Well.. Actually cURL does include a partial download, as stated in my comment up there.  I downloaded cURL from here:
[copy or print]
http://curl.haxx.se/download.html
And tried both Partial Download and cURL on this image here:
[copy or print]
http://www.donationcoder.com/cssimages/topbanner_website.png

Here's an example on getting 1500 bytes for both programs:
[copy or print]
curl http://www.donationcoder.com/cssimages/topbanner_website.png -r 0-1500 > topbanner_website.png

"partial download" http://www.donationcoder.com/cssimages/topbanner_website.png 1500

Anandcoral, both programs have their own benefits, of course.  Partial Download has much easier syntax to understand as well as (hopefully in the future cheesy) the possibility of a partial Youtube video download.  cURL provides more flexibility, but is a bit harder to understand.

I hope I don't offend you by posting here, but you know.  The facts are the facts, and cURL did get there 12 years before you did.  Wink  But like I said, your software may open up the possibility for partial Youtube downloads, which cURL can not do, so it wasn't all for nothing!  Keep up the good work!
« Last Edit: January 03, 2011, 10:01:21 PM by Cyeb » Logged
anandcoral
Honorary Member
**
Posts: 241



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #13 on: January 04, 2011, 12:06:46 PM »

Thanks kyrathaba.

Cyeb, yes, cURL can download partial in various range. Looks like "partial download" was destiny that Google did not show me the page, else I may not have made it.

"partial download" uses different logic so hopefully will work on all type of http connection, old or new, and I will try to add features missing but wanted in it, like Youtube.

No, I did not get offended, but was clarifying that I did not found in my search.

Praise and criticism are like day and night in programming life, and similarly both are needed for a healthy application. I just need to light some candles (add useful features) to reduce the darkness. If we had not critisised Vista, we had not got Win7 so soon. So keep posting the feedback  smiley

Regards,

Anand
Logged
anandcoral
Honorary Member
**
Posts: 241



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #14 on: January 11, 2011, 09:40:02 AM »

Can I put the link of this "Donationcoder" page on the PD web page ?

If yes, what image I can use of "Donationcoder" ? Also I request to put link of the main "donationcoder.com"

if no, well, thanks.

Anand
Logged
mouser
First Author
Administrator
*****
Posts: 33,699



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #15 on: January 11, 2011, 11:10:40 AM »

by all means, link to donationcoder wherever you want however you want.

Renegade was actually nice enough to update Hamradio's NANY badge graphic if you want to use that, it's here:

direct link: http://www.donationcoder....ny2011/nany2011ribbon.png
(it's from this thread).

there is also this page:
http://www.donationcoder.com/About/linkimages/
Logged
anandcoral
Honorary Member
**
Posts: 241



see users location on a map View Profile WWW Give some DonationCredits to this forum member
« Reply #16 on: January 13, 2011, 12:09:52 PM »

Thanks Mouser, will make required changes in the website and add the image.

One small request to all, if possible, please try to add the required feature suggestion in the feedback form, at the Feedback page of the website ( direct link https://sites.google.com/...ialdownload/home/feedback ). This will help me to gather all points at one place and also to make the FAQ list.

Regards,

Anand
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.043s | Server load: 0.16 ]