home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
awgt1512.zip
/
awget.eng
< prev
next >
Wrap
Text File
|
1999-07-24
|
6KB
|
191 lines
Auto Wget Daemon
Great idea and first release (C) 1998 by Steve Trubachev
Final release (C) 1998,1999 by Dmitry A.Steklenev
Short description
-----------------
If you know what GNU Wget is, so Auto Wget Daemon is for you.
As mentioned in OS/2 E-zine (http://www.os2ezine.com/v3n17/awget.htm)
Auto Wget Daemon (AWget) is a tool for "bulletproof downloading".
If you are bored with copying link in Netscape Navigator and manually
launching Wget then AWget is what you need. Now you can
start downloading with Drag'n'Drop. All you need is to drag url into
dedicated folder. Auto WGet supports download queue and redownloading if
you got any troubles.
Installation
------------
Copy all files to the directory where you decided to place Auto WGet
and run INSTALL.CMD. You'll be prompted to answer a few simple questions.
Installation script will create "ToDo" folder on your Desktop with two folders
inside it - "Info" and "Running". Also file %ETC%\AWGET.CFG will be created or
refreshed. Program object for launching Auto Wget Daemon will be placed in
"Desktop\OS/2 System\Startup" folder. It is not necessary to reboot now
cause awgetd.cmd will be launched by install.
How does it works
-----------------
Auto Wget Daemon looks into the "ToDo" folder and launch Wget when
any file appears to be there. It is considered that file placed in
the "ToDo" contains an URL. Daemon moves file to the "Running".
With help of them Daemon can decide how many Wget-sessions are running.
If downloading processes were not completed due to power failure
or anything else, files are moved into the "ToDo" folder again.
After that everything works as usual.
So just drag url into the "ToDo" folder and relax - awget will put task to
the queue and after some time you'll get your files.
If you use Netscape Communicator for OS/2, which is not able to drop URL in
folders, just set the key "use_desktop" to "1" in a configuration file
and drop URL on Desktop. The daemon itself will move them to a folder "ToDo".
Configuration
-------------
Configuration file awget.cfg must be located in %ETC% (\MPTN\ETC usually)
and consists of some strings:
# Folder for downloaded files
download = D:\CONTAINER\DOWNLOAD
# No comments :)
maximum_downloads_simultaneously = 3
# "Start downloading" and "Download completed"
# popup messages On (1) or Off (0)
messages = 1
# Options for GNU Wget
wget_parameters = -c -t 0
# How often daemon must check folder "ToDo" in seconds
scan_interval = 30
# Where to write "Start downloading" and "Download completed" messages
log_file = D:\USR\AWGet\ToDo\Info\awget.log
# Where to write error messages
error_log = D:\USR\AWGet\ToDo\Info\awget_error.log
# What to say when download completed
# %F means downloaded file name
# %U means URL.
message_done = send "Done %F: %U" glass
# What to say when download was not successful
# %F means downloaded file name
# %U means URL.
message_error = send "Error %F: %U" glass
# Is it necessary or not to check PPP connection before downloading
# anything. Default is Off (0)
check_connection = 0
# This key is necessary for Netscape Communicator support.
# If set to 1 then daemon scans Desktop for files with URL's
# and moves them to ToDo folder
use_desktop = 1
# If set to 1 then daemon moves failed URL's to Failed folder
keep_failed_url = 1
# If set to 1 then daemon moves succesfull URL's to Done folder
keep_done_url = 1
Programs used
-------------
pmpopup2.exe Ulrich Sturmberg PM Popup Version 1.0
also "netstat" is used for checking PPP connection
History of changes
------------------
Revision 1.5.1.2
upd: Because of bugs in old versions OBJECT REXX the subsystem
of locking is completely rewritten.
upd: The waiting of start of process of downloading with
timeout per 30 seconds is added.
add: French language support
add: Italian language support
Revision 1.5.1.0
fix: error in installation script.
Revision 1.5.0.9
fix: error in procedure of check existence of the download directory.
Revision 1.5.0.8
fix: problem with URLs containing '&()^'
Revision 1.5.0.7
fix: error in WpsMove().
Revision 1.5.0.6
fix: PPP connection check (for PPP1-PPP7)
add: At a error the output of the WGet is append in a error log
for the further analysis
add: uninstallation program.
add: new icons :)
add: error log file.
add: after end of downloading URL is placed in the extended
attribute .SUBJECT of the downloaded file.
add: Netscape Communicator/2 support.
add: after processing URL can move in special folders
"Failed" or "Done", depending on what finished downloading.
upd: refreshing of folders at moving files.
add: object "Add Url" in a folder "Info" for manual addition URL.
add: creation of a tray "Auto WGet Daemon" in WarpCenter during
installation.
fix: many small bugs :)
Revision 1.4.0.3
fix: problem with URLs containing '%'
upd: process complete message automaticaly disposed after
one hour
Authors
-------
Great idea and first release (C) 1998 by Steve Trubachev
Final release (C) 1998,1999 by Dmitry A.Steklenev
glassman_ru@geocities.com
Special thanks
--------------
My acknowledgements to Steve Trubachev (aka Aztek) for assistance
in translation of all this on English.
My acknowledgements to Gian Luca PROSPERINI <gian-luca@hotpop.com>
for translation of a message file on Italian.
My acknowledgements to Guillaume Gay <gay@mail.dotcom.fr> for
translation of a message file on French.