Download utility for devs. Xdialog progress. # New version.

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#31 Post by mikeb »

Speed indeed..I clocked up 4 times faster from puppy 1 to puppy 4 doing a mass copy operation in rox so its not just library load times but execution too.
Yes I believe it was an early xfce4 engine that was used to improve scroll bars.

mike

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#32 Post by sunburnt »

Cleaned up my "dev`s download utility".

And now it continues a broken download automatically.

User avatar
Keef
Posts: 987
Joined: Thu 20 Dec 2007, 22:12
Location: Staffordshire

#33 Post by Keef »

All ok.
Tested it on http://412collection.co.uk

Code: Select all

# ./xdlg.dnldprogress gimp-2.4.5.pet http://db.tt/fesQujV6
The console output finished a couple of seconds before the dialog box - which is better than the other way round though.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#34 Post by sunburnt »

Yeah, I had the dialog calling wget, but it made more sense the other way around.
It seems to keep working at a site rather well until it the download is complete.

As I said, lots of developer utilities like this should be made. ( I have a mirror selector also )
Then developing user apps and system apps would be a cinch. Just glue the parts together.
.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#35 Post by mikeb »

Forgot to give you a screenie of my thing.... a bit bare without the you tube part.. It does resumes too...was a handy ability in the days of dial up :)
mike

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#36 Post by sunburnt »

What..!!! No progress bar..??? :lol:
Looks really good Mike, and the console output from wget too.

I`m thinking a full blown downloader with features like yours in GtkDialog.
Then it can have the usual LabelBoxes for speed and ETA. There`s already so many though.
.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#37 Post by mikeb »

Well tis about 4 years old or more... no sexy progress bars around which would make a much neater result. In fact I want to neaten up my dropbox uploader and such a thing will do nicely. At the moment it opens a terminal window but to me a gui wants a gui style of feedback/monitoring.

mike

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#38 Post by Geoffrey »

This maybe of some interest, technosaurus posted a dropbox uploader which has a progress bar. http://www.murga-linux.com/puppy/viewto ... 239#597239
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#39 Post by mikeb »

Well it does more than just upload :)
mike
Attachments
drop.png
(85.06 KiB) Downloaded 416 times

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#40 Post by sunburnt »

Mike; It`d make a nice SpaceFM / MidnightCommander type Filer. Do downloads also?

Now if there was just a true tree panel to be had, a replacement filer for Rox could be made.

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#41 Post by mikeb »

Does most operations...upload, download, new folders, delete, get public link.... no need for the dropbox software or even a browser. Does indeed work like a 2 pane file manager.

Have you not played with gtkfm?

mike

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#42 Post by sunburnt »

I think I`ve seen it before, but like SpaceFM I passed on it as I want a Win. Explorer type.

I used Norton Commander for years 20 ago, but a tree for the left panel is so much better.

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#43 Post by smokey01 »

mikeb wrote:Does most operations...upload, download, new folders, delete, get public link.... no need for the dropbox software or even a browser. Does indeed work like a 2 pane file manager.

Have you not played with gtkfm?

mike
mikeb is there a 64bit version or a link to the sources.

thanks

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#44 Post by mikeb »

Well its 2 small bash scripts...gtkdialog3 and curl so should be compatible.

I will make a thread in the software section as there are a couple of TODO's to deal with (confirmation boxes, non public folder share links and somehow selective files rather than single or folder) plus if anyone bothers to give feedback that would help too.

mike

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#45 Post by mikeb »

@somokey01 better late than never
http://www.murga-linux.com/puppy/viewtopic.php?t=90753

mike

brokenman
Posts: 25
Joined: Thu 20 Oct 2011, 23:00

#46 Post by brokenman »

Thought i would post about the downloader with progress bar downloading from sourceforge. To get the proper file name use:

wget --trust-server-names --no-check-certificate $url

Nice little downloader gui too :)

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#47 Post by sunburnt »

brokeman; So the new part is: --trust-server-names
It already has: --no-check-certificate

Thanks guy... I`ll add it and put it in the download. Terry B.

User avatar
Geoffrey
Posts: 2355
Joined: Sun 30 May 2010, 08:42
Location: Queensland

#48 Post by Geoffrey »

This don't work in Carolina, I would suspect the same for Racy and Wary too.

Code: Select all

wget: unrecognized option '--trust-server-names'

My version of wget

Code: Select all

GNU Wget 1.12, a non-interactive network retriever.
I compiled the latest wget-1.15 in Carolina using these options and now it works, might work with wary too.

Code: Select all

./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --disable-nls --disable-rpath --with-gnu-ld --with-ssl=openssl
[b]Carolina:[/b] [url=http://smokey01.com/carolina/pages/recent-repo.html]Recent Repository Additions[/url]
[img]https://dl.dropboxusercontent.com/s/ahfade8q4def1lq/signbot.gif[/img]

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#49 Post by sunburnt »

This is the horror of maintaining a project. Thanks Geoffrey. 8)

I`m now trying to imagine how I can setup a with/without arrangement.
Last edited by sunburnt on Tue 12 Aug 2014, 02:02, edited 1 time in total.

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#50 Post by technosaurus »

oops, guess I should post more of my code examples:

Xdialog progress bars using wget and Xdialog
http://www.murga-linux.com/puppy/viewto ... 239#597239

targress (when opening large tarballs)
http://www.murga-linux.com/puppy/viewto ... 741#627741

goingnuts port to gtkdialog1, and 2 (gtk1 and gtk2 versions) progress
http://www.murga-linux.com/puppy/viewto ... 609#628609
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply