Pwget is a simple front end to the wget utility
for Dingo (Puppy 4).
Well it would be if I could program.
Sadly I have all the programming prowess
of a bag of soggy chips, without the bag
Pwget is used for downloading larger files from the internet such as ISOs using the wget bash command. The files are verified during the download procedure. As ISO and other files are checked, they do not require a md5sum check
basically this is the command
Code: Select all
wget -c -P$DEST $SOURCE
and this is the front end
Code: Select all
#! /bin/bash
# Pwget created by Lobster Jan 2008 for Puppy Dingo and Linux Tmxxine GPL v3 License
# http://tmxxine.com
export Pwget='
<window title="Pwget - File downloader utility">
<vbox>
<hbox>
<text><label>Source URL</label></text>
<entry accept="directory"><variable>SOURCE</variable><input>/tmp/pm_source_dir</input></entry>
<button>
<input file icon="gtk-paste"></input>
<action type="fileselect">SOURCE</action>
<action>refresh:SOURCE</action>
</button>
</hbox>
<hbox>
<text><label>Destination Dir</label></text>
<entry accept="directory"><variable>DEST</variable><input>/tmp/pm_mirror_dir</input></entry>
<button>
<input file icon="gtk-open"></input>
<action type="fileselect">DEST</action>
<action>refresh:DEST</action>
</button>
</hbox>
<hbox>
<button help>
<action>`Xdialog --wrap --screencenter --left --title "Pwget - HELP" --msgbox "Pwget is a simple front end to the wget utility. Wget is used for downloading larger files from the internet such as ISOs. The files are verified during the download procedure. As ISO and other files are checked, they do not require a md5sum check. \n\n Lobster, Jan 2008" 600x0`</action>
</button>
<button cancel></button>
<button ok></button>
</hbox>
</vbox>
</window>'
gtkdialog3 --program Pwget
unset Pwget
wget -c -P$DEST $SOURCE