Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy home page: puppylinux.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 09 Feb 2010, 13:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Xwget-6 - GUI download manager
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 1 Posts_count  
Author Message
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1168
Location: Queensland

PostPosted: Mon 28 Jan 2008, 03:31    Post_subject:  Xwget-6 - GUI download manager
Sub_title: wget Gui in gtkdialog
 

I have rewritten Xwget in gtkdialog and converted it to a .pet package so it will install & run in Puppy 4.
Xwget-6.pet
Description  This is an update, it includes a resume function.
Download and click on it to install Xwget-6
pet

 Download 
Filename  Xwget-6.pet 
Filesize  3.49 KB 
Downloaded  236 Time(s) 

Edited_times_total
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 5648
Location: hobart

PostPosted: Mon 28 Jan 2008, 05:07    Post_subject:  

Hi Ian,

I was thinking of having a crack at this...but you've beaten me to it. Curious as to why it's packaged like a Russian doll? Pup inside pet inside .tar.gz.
Back to top
View user's profile Send_private_message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1168
Location: Queensland

PostPosted: Mon 28 Jan 2008, 05:29    Post_subject:  

muggins

I originally put it together as a dotpup then found that Puppy 4 did not include the dotpup installer so I just converted it to a pet package and just zipped it through habit not bothering to see if the forum handled .pet extensions.

Put it all down to laziness. Smile

Have you tried it in Puppy 4, if so do you have any thoughts.
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 5648
Location: hobart

PostPosted: Mon 28 Jan 2008, 05:50    Post_subject:  

No,
I've only used it on 2.16 to download one file. I remember that with xwget you wanted an internal progress-bar display. I think gtkdialog has a progress bar, but I'm not sure of what the mechanism would be of feeding wget's output back. And, (again I'm not sure of the mechanism), is pause/resume possible?
Back to top
View user's profile Send_private_message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 10944

PostPosted: Mon 28 Jan 2008, 06:03    Post_subject:  

Embarassed
I already done it and Barry is putting it in the next Dingo Alpha
http://www.murga-linux.com/puppy/viewtopic.php?p=167972#167972

It even seems to work . . .
The programs seem very similar

hope I haven't trod on any ones toes . . .

_________________
Experimental Unofficial Puppy 4.3.2 Built by Barry Kauler Woof Powered test NOW
Back to top
View user's profile Send_private_message Send_email Visit_website 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1168
Location: Queensland

PostPosted: Mon 28 Jan 2008, 06:37    Post_subject:  

Lobster

Good work Ed, I decided to convert the original Xwget as Puppy 4 has not got tcl/TK.

muggins

I decided to go with the wget output in rxvt as it saves a lot of problems and code.
I'll look into a resume function as this would involve saving the settings to a temp file for recall.
Back to top
View user's profile Send_private_message 
muggins

Joined: 20 Jan 2006
Posts: 5648
Location: hobart

PostPosted: Mon 28 Jan 2008, 06:46    Post_subject:  

Ian,

I was wondering if wget's progress could be monitored by parsing a log file, produced by:

wget -o log -c URL &
Back to top
View user's profile Send_private_message 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1168
Location: Queensland

PostPosted: Mon 28 Jan 2008, 07:14    Post_subject:  

I tried the -o option once but could only get the data in a text frame once the download was finished, this was in tcl/TK.
Back to top
View user's profile Send_private_message 
BarryK
Puppy Master


Joined: 09 May 2005
Posts: 5293
Location: Perenjori, Western Australia

PostPosted: Mon 28 Jan 2008, 19:53    Post_subject:  

I don't know if it is what you need, but MU recently posted a nice little commandline utility to monitor the tail of a file in a separate window. He posted it somewhere on this forum.
_________________
http://www.puppylinux.com/blog/
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13525
Location: Karlsruhe, Germany

PostPosted: Mon 28 Jan 2008, 21:34    Post_subject:  

gtklogfileviewer
http://murga-linux.com/puppy/viewtopic.php?t=25477

Mark
Back to top
View user's profile Send_private_message Visit_website 
MU


Joined: 24 Aug 2005
Posts: 13525
Location: Karlsruhe, Germany

PostPosted: Mon 28 Jan 2008, 21:40    Post_subject:  

wget http://pro-linux.de 2>test.txt

The progress-dots are sent to stderr by wget, so you must redirect stderr (the "2") to a file.
Then you might be able to tail it.
You can do a quicktest with
tail -f test.txt
if you replace pro-linux.de with the location of a huge file, like Windows Service Pack 2. (please do not use my servers for such tests Wink )
I did not check it myself with such a huge file.

Mark
Back to top
View user's profile Send_private_message Visit_website 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1168
Location: Queensland

PostPosted: Mon 28 Jan 2008, 22:16    Post_subject:  

Thanks Barry & Mark, there is plenty to look at.

I am fiddling around with a resume download idea at the moment but if I could redirect the stderr into another prog and use it to time a progress bar it might work or read from a file in a loop to drive the progess bar.



P.S. What the heck would we do with Windows Service Pack 2. Smile
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13525
Location: Karlsruhe, Germany

PostPosted: Mon 28 Jan 2008, 23:23    Post_subject:  

Quote:
P.S. What the heck would we do with Windows Service Pack 2.


Don't know, it was just an idea to download a huge file without stressing our repositories too hard Wink
Mark
Back to top
View user's profile Send_private_message Visit_website 
Ian
Official Dog Handler


Joined: 04 May 2005
Posts: 1168
Location: Queensland

PostPosted: Sun 03 Feb 2008, 20:59    Post_subject:  

I have done an update of Xwget-6, it now has a resume function but no pause or progres bar yet.
It is also a .pet package so it is a one click install.
Back to top
View user's profile Send_private_message 
aragon

Joined: 15 Oct 2007
Posts: 1278
Location: Germany

PostPosted: Wed 16 Apr 2008, 11:09    Post_subject:  

dear ian,

i've installed that one in 3.01 (don't know if there ist anything problematic).

i noticed, that after i've closed the app with the exit button, it is still in my process-list. shouldn't it be closed?!?

cheers
aragon

_________________
PUPPY SEARCH: http://wellminded.com/puppy/pupsearch.html
Lenovo 3000N200: 3-Boot: Win XP, Crunchbang 9.04.01, Homebrew based on 4.10
IBM a22m (PIII, 384 MB RAM): Homebrew based on 4.00
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
hot copy
[ Time: 0.4043s ][ Queries: 9 (0.0516s) ][ Debug on ]