home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / xdown13.zip / README.en < prev    next >
Text File  |  2001-07-01  |  24KB  |  570 lines

  1. Instructions for using the program "Downloader for X" version 1.16
  2. (c) 1999--2000, Maxim Koshelev
  3.  
  4. Contents
  5. 0. Introduction
  6. 1. What is this Program Needed For?
  7.     1.1 License
  8.     1.2 Features
  9.     1.3 Installing the Program
  10.     1.4 Usage Examples
  11. 2. The Program's Main Window
  12.     2.1 The Menu
  13.     2.2 The Button Bar
  14.     2.3 Download Queue
  15.     2.4 Main Log
  16.     2.5 Status Line
  17. 3. Configuration Dialog
  18.     3.1 Geneneral Options
  19.     3.2 Limits
  20.     3.3 Other Options
  21.     3.4 Main Log Options
  22.     3.5 Selecting Columns to Display
  23.     3.6 Proxy Server Options
  24.     3.7 Confirmation Options
  25.     3.8 Download Speed Options
  26. 4. Limits Window
  27. 5. Default Passwords
  28. 6. Drag-and-Drop Basket
  29.     6.1 Basket Menu
  30. 7. Interface Options
  31. 8. Command Line Parameters
  32. 9. Appending New Downloads
  33.     9.1 Download Editing Dialog
  34.     9.2 Other Ways of Adding Downloads
  35. 10. Conclusion
  36. ---------------------------------------------------------------------
  37.  
  38. 0. Introduction
  39.  
  40. These instructions are at attempt at a full description of the characteristics
  41. of "Downloader for X" (henceforth "the program").  If you find in the text
  42. here presented any discrepancy or inaccuracy, please inform the author of
  43. this program.  Of course, the author does not assume any responsibility for
  44. harm suffered as a result of the use of this program, for as much as the
  45. program is furnished free of charge, in the hope that it will be useful.
  46.  
  47. 1. What is this Program Needed For?
  48.  
  49. This program is intended to make it possible to download files from Internet
  50. sites by means of the FTP and HTTP protocols.  Because it supports
  51. resuming of downloads  and automatic re-connection to servers after
  52. failures, it will prove absolutely indespensible when connections to Internet
  53. sites are unstable, for downloading files from distant servers, and for
  54. fetching large numbers of files.
  55.  
  56. 1.1 License
  57.  
  58. Alas, the license is not the GPL.  What does this mean?  This program is
  59. distributed without fee, even with open source code.  Accordingly, the author
  60. assumes no responsibility for any damage which might be inflicted by this
  61. program.  But the author reserves unto himself the inviolable right of
  62. exclusive modification of the source code.  This means that any other
  63. person may distribute this program only "as is," that is without modification
  64. of the source code.  If you are considering introducing some sort of modification
  65. you are OBLIDGED to send it to the author for incorporation into the program's
  66. official code.  NO ONE other than the author of this program HAS THE RIGHT
  67. to distribute MODIFIED versions of this program.  This restriction is made
  68. chiefly in order to centralize the project, to avoid the appearance of various
  69. "offshoots" of this single program.  Naturally, upon the completion of work on
  70. the program, the present license will give way to the GPL.
  71.  
  72. 1.2 Features
  73.  
  74. Here I shall attempt to present a complete list of the features available
  75. in the version described:
  76.  
  77.     * Downloading using the FTP and HTTP protocols
  78.     * Support for FTP and HTTP proxies
  79.     * Recursive FTP downloads
  80.     * Recursive HTTP downloads
  81.     * Support for "masks" in FTP downloads
  82.     * The ability to limit the depth of recursion
  83.     * The ability to postpone file downloads until a specified time
  84.     * Support for the resumption of downloads
  85.     * Automatic reconnection to the server after a break in the connection
  86.     * The ability to limit the maximum download speed used for all downloads
  87.       as well as for selected downloads
  88.     * The ability to limit the number of simultainious connections to any
  89.       given server
  90.     * The keeping of a log of each download
  91.     * Support for "Drag and Drop", for example from Netscape
  92.     * The ability to add a new download by means of teh command line
  93.     * monitor clipboard
  94.     * The keeping of a main log which may be written to a file
  95.     * Automatic preservation of all configuration options and interfaces
  96.     * The ability to configure the appearence of the columns in the
  97.       download queue
  98.     * The ability to configure the button bar
  99.     * Internationalization (translation) into 14 languages
  100.     * Extensive configurability
  101.     * The ability to download one file in several streams (mass download)
  102.     * Startup without the X interface, from the command line
  103.  
  104. 1.3 Installing the Program
  105.  
  106. If you have RedHat Linux 6.1 installed on your machine and it is an x86
  107. compatible computer, you can simply install the program from an RPM file
  108. which you may obtain from the programs home page at:
  109.  
  110.     http://www.krasu.ru/soft/chuchelo/
  111.  
  112. If you have an older version of RedHat Linux, then you can make an RPM
  113. file from the .src.rpm file (which you can find in the same place).  In
  114. order to do this, use the command:
  115.  
  116. $ rpm --rebuild lalala.src.rpm
  117.  
  118. where "lalala.src.rpm" is the name of the program's source RPM file.
  119. For owners of other versions of Linux and for owners of other Unix variants,
  120. it is necessary to install the program from the source, which is described in
  121. the README file which comes in the tar.gz archive which may be obtained from
  122. the same place.  If you have the GNOME or Afterstep desktop shell, then after
  123. the installation of the program it will become possible to launch it from the
  124. cooresponding menu.  (The program's name for launching it from the command line
  125. is "nt".)
  126.  
  127. 1.4 Usage Example
  128.  
  129. Launch the program and press the key combination Ctrl-N.  In the window that
  130. appears, on the "URL" line, enter the the address of the file (or directory)
  131. which you wish to fetch on the line labeled "URL".  On the next line,
  132. indicate the folder into which you wish the file to be deposited.  Having done
  133. that, you may simply press the "OK" button.  You will notice that a new line
  134. appears in the main window.  It is various information about the current status
  135. of the downloading of the file.
  136.  
  137. 2. The Program's Main Window
  138.  
  139. After launching the program, hopefully you will see the program's main window.
  140. It contains the main menu, buttons bar, download queue listing, main log,
  141. and status line.
  142.  
  143. 2.1 The Menus
  144.  
  145. Through the main menu you can gain access to almost all of the functions of the
  146. program.
  147.  
  148. 2.2 Button Bar
  149.  
  150. The button bar is intended for quick access to the most frequently used
  151. functions of the program.  The functions of the buttons (from left to right)
  152. are:
  153.  
  154. * Add downloads
  155. * Add downloads using the contents of the cut-and-paste buffer
  156. * Remove the selected downloads
  157. * Start or restart the selected downloads
  158. * Stop the selected downloads
  159. * Remove finished
  160. * Move the selected downloads to the front of the queue
  161. * Move the selected downloads to the end of the queue
  162. * Open the log window for the selected download
  163. * Three buttons for limiting speed
  164. * Purge the download queue
  165. * Write the queue listing to a file
  166. * Toggle the Drag-n-Drop basket on and off
  167.  
  168. You may choose which buttons will be visible by means of the main menu (see
  169. section 6).  Pressing the right mouse button on a button of writing queue
  170. will record its present state in a file which is loaded at program start.
  171.  
  172. 2.3 The Download Queue
  173.  
  174. Any download added in Downloader for X enters the Download Queue.  The process
  175. of loading the file begins only if it would not cause the user-established
  176. limits to be exceeded.  These include the number of simultainious downloads,
  177. the limit on connections to the server, and the start time.  Otherwise, the
  178. download will "wait" for an easing of the limits, for example, the halting of
  179. other downloads (in case of their completion, a communications error connection breaks , or a
  180. user action).  The queue listing may have a maximum of 13 columns:
  181.  
  182. * Status - Here little pictograms displays the current status of
  183.   the download.
  184. * File Name
  185. * File Type (Directory, File, link, device)
  186. * File Size
  187. * Downloaded Size - size of the part of the file already loaded
  188. * Remainder - size of the part of the file yet to be loaded
  189. * Percent - the percentage of the loaded part of the file as compared to the whole
  190. * Speed - Average download speed
  191. * Elapsed Time
  192. * Estimated Time - time remaining until completion
  193. * Time of Pause - the amount of time that has elapsed from the moment of reading
  194.   data (This becomes visible only after 30 seconds.)
  195. * Number of Attempts - the number of attempts to fetch the file made so far
  196. * URL - full address of the file
  197.  
  198. Any column may be turned off in "Program Configuration" in the section "Columns".
  199. By default ALL columns are presented.  The formats for representing time and sizes
  200. are changed there too.
  201.  
  202. You may likewise press the right mouse button over a download in the queue
  203. listing in order to get quick access to these key functions: Modify, Move Up,
  204. Move Down, Start, Stop, Set Limits, Open Log.
  205.  
  206. In order to move the selected downloads up or down you can use the following
  207. key combinations:
  208.  
  209. Shift+Up - up by one
  210.  
  211. Shift+Down - down by one
  212.  
  213. Shift+PageUp - to the very top of the queue
  214.  
  215. Shift+PageDown - to the very bottom of the queue
  216.  
  217. Double clicking the left mouse button on a download line will call up the log
  218. for that download.  The will likewise be opened if one presses the Enter key.
  219.  
  220. The user can add a download simply dragging a link from somewhere and
  221. dropping it directly into this queue.
  222.  
  223.  
  224. 2.4 Main Log
  225.  
  226. The main log serves to descibe events which occur in the program, for example
  227. the completion of a download.  The log may be written to a file.  To do this,
  228. indicate the name of the file in the Program Options in the section "Main Log".
  229. There one may turn on the output of all messages  (to produced detailed 
  230. information). You can remove a line from the main log (but not from the file
  231. in which it is written).  Press the right mouse button on the desired line,
  232. choosing "Remove line".  In order to copy a line from the log, simply double
  233. click on the line and select the line in the dialog box that appears.
  234. Access to this dialog box may also be obtained through the menu that
  235. appears when the right mouse button is pressed on the line.
  236.  
  237. 2.5 Status Line
  238.  
  239. The Status Line serves to bring out auxiliary program information.  It is
  240. divided into four parts:
  241.  
  242. I The file name of the last download
  243.  
  244. II The total number of bytes read, starting from the launching of the program,
  245. and the current speed in bytes per second
  246.  
  247. III Percent completed of the selected download
  248.  
  249. IV Speed Graph, depicted in four colors.  By default:  the color black represents
  250. tops , dark gray average speed, light gray the speed of the selected download.
  251.  
  252. 3. Options Dialog
  253.  
  254. Most configuration of the program is performed by means of the options
  255. dialog which may be opened by choosing Options/General  from the main menu or
  256. by pressing Ctrl-C.
  257.  
  258. 3.1 General Options
  259.  
  260. "Use title" - with regard to the title of the main window
  261.  
  262. "Use title for information" - Present information about the selected download
  263. in the title of the main window.
  264.  
  265. "Display queue statistics too" - in addition, queue statistics will
  266. be displayed
  267.  
  268. "Scroll Title" - scrolling the title.
  269.  
  270. "Automatically remove completed downloads" - Upon completion of the download
  271. it will be automatically removed from the queue of downloads.
  272.  
  273. "Automatically remove failed downloads" - Same as above but if the
  274. download didn't succeed.
  275.  
  276. "Optimize recursion" - If you fetch a directory through FTP, then when this
  277. option is enabled the program will not determine the size and other information
  278. for each file in the directory separately.  
  279.  
  280. "Restart if download won't resume" - Even if the server does not support
  281. resuming, attempt to download the file anew. 
  282.  
  283. "Open a window for Drag-n-Drop" - If you want the program to open a window
  284. for adding a new download when drag-n-drop is used, depress this option.
  285.  
  286. "Iconify window on close" - If you attempt to close the program's main window,
  287. it will be iconified instead.
  288.  
  289. "Save download listing every N minutes" - Is that completely clear?
  290.  
  291. "Take date from server" - Set the file's date and time to what they were on
  292. the server.
  293.  
  294. "Take file permissions from server (FTP only)" -  file permissions, for
  295. dirctories permission by execute will be added automaticaly, read, and write permissions for the owner.
  296.  
  297. "Monitor clipboard" - If you want the program to automatically present a window
  298. for adding a new download whenever a reference appears in the cut-and-past
  299. buffer (for instance if you have copied a reference from Netscape), then choose
  300. this option.
  301.  
  302. "Draw a graph in reverse order" - by default a chart in the lower
  303. right corner of the main window advancing from right to left.
  304.  
  305. "Default file permissions" - when downloading by the HTTP the program will
  306. set up these permissions on files.
  307.  
  308. "Show the 'Basket'" - this is the same as the far right button on the
  309. button bar in the main window.
  310.  
  311. "Exit if nothing happens for N minutes" - If there are no waiting or active
  312. downloads, then exit after the indicated amount of time.
  313.  
  314. 3.2 Limitation
  315.  
  316. In this section the user may establish parameters which the program will use
  317. as defaults for all downloads, though they may later be modified for each
  318. download.
  319.  
  320. "Maximum number of active downloads" - maximum number of simulataineously
  321. "activated" downloads.  The program will NEVER activate more downloads than
  322. you specify in this spot.
  323.  
  324. "Delay before retrying a connection (in seconds)" - this parameter specifies
  325. the amount of time which the program will wait before connecting to the server
  326. again.
  327.  
  328. "Timeout for reading from socket (in seconds)" - This parameter indicates how
  329. long to wait for data from the server.  The program will automatically
  330. break the connection if this limit exceeded.
  331.  
  332. "Maximum lines in log" - I hope it's self described
  333.  
  334. "Number of attempts (0 unlimited)" - how many times to attempt to to connect
  335. to the server in an attempt to fetch the file.
  336.  
  337. "Rollback after reconnecting (in bytes)" - certain old modems (according
  338. to users) and defective proxy servers return garbage when the
  339. connection breaks.  In order to download sucessfully under these conditions,
  340. set this parameter to 2--10 kilobytes.  Then, during each new attempt the
  341. program will attempt to continue loading not from the very end of the file which
  342. has already been loaded, but with a step back toward the begining of the file.
  343.  
  344. "Depth of recursion (0 unlimited, 1 no recursion)" - this one speaks for
  345. itself.
  346.  
  347. 3.3 Other Options
  348.  
  349. "Save downloads to this folder" - the directory in which downloads will
  350. be saved by default
  351.  
  352. "Execute this on exit" - enter a command line which should be executed on
  353. program exit.  For example, a pppdown script.
  354.  
  355. "File name for saving if it is unknown" - In a number of circumstances,
  356. the program will not know the name of the file being downloaded (for instance,
  357. if you entered http://www.linux.org/).  Enter here the desired file name for
  358. such situations.  By default "index.html".
  359.  
  360. "User-Agent for HTTP requests" - If you want to program to present itself as
  361. something other than "Downloader for X" when downloading by HTTP, replace
  362. the parameter "%version", which is the default.
  363.  
  364. "Skip these extensions in the clipboard" - When the "Monitor Clipboard"
  365. function is in use, almost all links passing through it are simply unnecessary
  366. and a hindrance.  In this space enter, separated by blanks, a list of
  367. extensions which you want to "not notice" when using "monitoring".
  368.  
  369. "Use passive mode for FTP" - The name speaks for itself.
  370. Behind Some firewalls permit only passive mode FTP connections to pass.
  371.  
  372. "Remember passwords" - If you want the program to remember passwords from the
  373. password input field, and make a record of them, choose this option.  But
  374. then all of the lines for the entry of passwords begin to show the entered
  375. information and not the symbol "*".
  376.  
  377. 3.4 Main Log Options
  378.  
  379. In case you have to write the log to a file, you can, in this portion of the
  380. options, indicate the file into which the log should be written.  Likewise you
  381. can require the keeping of a "detailed" log, in which case you will get much
  382. more detailed information.  The log may likewise be appended to the file or
  383. be written anew each time.  This pertains to restarts of the program, that
  384. is if you instruct it to overwrite the log, then at every program launch
  385. the log file will be truncated.
  386.  
  387. 3.5 Selecting Columns to Display
  388.  
  389. In this section of the tunables, you can setup the representation of the
  390. columns and likewise the format of the sizes and times which will be
  391. represented in them.
  392.  
  393. 3.6 Settings of Proxy Servers
  394.  
  395. In the proxy server settings, you can designate proxy servers for the FTP
  396. and HTTP protocols separately.  And you can specify whether a username and
  397. password are required, and if required, the username and password.  A number of
  398. FTP proxy servers known to the author do not require a password.
  399.  
  400. 3.7 Confirmation Options
  401.  
  402. Here you can indicate whether the program will ask you to confirm various
  403. "dangerous" actions:
  404.  
  405. * Exiting the program
  406. * Removal of a queue entry
  407. * Removal of completed queue entries
  408. * Removal of failed queue entries
  409. * Removing all queue entries
  410.  
  411. 3.8 Speed
  412.  
  413. In this section of the options you can set two parameters:  the first and
  414. second speed levels.  These speeds set the read and yellow buttons on the
  415. button bar.
  416.  
  417. 4. Limits Window
  418.  
  419. This window is called up from the program's main menu.  Choose "Limits" from
  420. the "Options" menu.  Before you there will appear a window with an empty list
  421. consisting of three columns.  If you want to establish a limit on number of
  422. connections with respect to any given server, press the "Add" button and, in the
  423. window that appears, enter the address of the server, the port number, and
  424. the maximum permissible number of simultaineous downloads.  After you press
  425. the "OK" button, a line with the information will appear in the limits window.
  426. In the last column, the number of current connections to the server at any
  427. given time will be indicated.  You can modify a limit by double clicking
  428. the mouse on the line with the limit.  In order to remove a limit, select the
  429. line to be removed and press the "Delete" button.
  430.  
  431. 5. Default Password
  432.  
  433. The program permits one to specify for any server a user name and password
  434. which are used by default.  To enter these parameters, go to the main menu
  435. in the submenu "Options" and choose "Passwords".  In the window that appears,
  436. press the "Add" button in order to enter a new default password.
  437. You will notice that for any one server there can be only one
  438. username-password pair.  In order to edit an existing entry, press the mouse
  439. button two times quickly over the cooresponding line.
  440.  
  441. The program will use the default password only if you do not enter a password
  442. when adding the download to the queue.
  443.  
  444. 6. Drag-n-Drop Basket
  445.  
  446. This is a separate window which is always above  all windows (or at least 
  447. ought to be there).  Into this little window you can drag and drop links,
  448. for instance from Netscape or from the Gnome desktop.  A double mouse click on
  449. this little window calls up the program's main window or hides it if it is
  450. currently visible.  You can likewise relocate the window by holding the mouse
  451. button on it and dragging to desired location.  Clicking the left mouse button
  452. brings up a menu, for quick access to certain functions.  Clicking the middle
  453. button of the mouse on the basket brings up a dialog box for adding new
  454. downloads.
  455.  
  456. 6.1 Basket Menu
  457.  
  458. By means of this menu the user receives access to next functions of the
  459. program:
  460.  
  461. * Adding downloads
  462. * Adding downloads from the cut buffer
  463. * Alteration of speed limits
  464. * Opening configuration dialog
  465. * Exiting the Program
  466.  
  467. 7. Interface Options
  468.  
  469. In addition to the fact that one may set up columns for the presentation
  470. of information in the download queue (3.5) one may likewise adjust the
  471. button bar.  To do that go to the menu "Options" and in the sub-menu "Buttons"
  472. select the desired button.
  473.  
  474. 8. Command Line Parameters
  475.  
  476. In the version of the program here discribed, the following command line
  477. parameters work:
  478.  
  479. --help, -h  Display the full list of command line parameters and exit.
  480.  
  481. --version, -v Display the name of the program and the version number and exit.
  482.  
  483. --info, -i Display statistics about downloads if the program has already been
  484.   started.
  485.  
  486. --speed, -s print the current speed (that is, the speed at the given instant)
  487.  
  488. -t1, --traffic-low - activate the lowest download speed limit, equivelent to
  489. pressing the red button.  This parameter works even if the program has already
  490. been started.
  491.  
  492. -t2, --traffic-medium - the same except the middle limit.  Equivelent to the
  493. yellow button on the buttons bar.
  494.  
  495. -t3, --traffic-high - no speed limit.  Equivelent to the green button on the
  496. button bar.
  497.  
  498. -d,--directory - set the directory for a download added by from the command
  499. line, by default it is the same as for downloading from the main window.
  500.  
  501. -c,--delete-completed - Remove completed downloads from the queue.  This option
  502. works only if the program is already running.
  503.  
  504. -m,--max-running - set the maximum number of simultaineously running downloads.
  505.  
  506. -w,--without-gui - Launch the program without its graphical user interface,
  507. in command line mode, with this option the program will continue to accept
  508. commands for example, from a gnome-applet.
  509.  
  510. -r, --rerun-failed - restart all failed downloads.
  511.  
  512. In order to add a download by means of the command line, simply type:
  513.  
  514. nt address_of_file
  515.  
  516. One may specify serveral addresses by using blanks.  An address is
  517. differentiated from an option in that it does not begin with a dash.
  518.  
  519. 9. Appending a New Download
  520.  
  521. A new download can be appended through a couple different facilities:  through
  522. the menu or through the button bar.  In such a case, there will appear on the
  523. screen a download editing window in which one may set all the parameters
  524. of the download.
  525.  
  526. 9.1 Dialog for Appending Downloads
  527.  
  528. The download editing dialog, which appears in particular when you add a download,
  529. is divided into four parts, each of which is presented as a tabbed layer.  I
  530. will not here discribe the "Proxy" and "Other" tabs because they duplicate
  531. certain functions of the tunables.  I describe only the first layer "Main" and
  532. the last "Time".
  533.  
  534. On the first line "URL" enter the address of a file (or directory) for
  535. downloading on the second - the path to the directory into which the fail
  536. is to be written.  Downloader for X will attempt to create the folder (and any
  537. intervening folders) if they do not exist.  If you wish to write the download
  538. into a file with a name different from the original, then on the following
  539. line indicate the file name.  The line User-Agent is for the HTTP
  540. requests , If you do not know what this is, leave it unmodified.
  541. If a site needs a password then go on and enter it too.  If you do not want
  542. the download to be started automatically after it is added to the queue,
  543. then check the last checkbox under the "Main" tab - "Pause immediately
  544. after adding".
  545.  
  546. 9.2 Other Ways to Add Downloads
  547.  
  548. In addition to adding by means of the menu and button bar, the user can
  549. add downloads by the following means:
  550.  
  551. * Through the command line (7)
  552.  
  553. * By dragging links from another program and dropping them somewhere in the
  554. middle of the download queue (2.3)
  555.  
  556. * Or through the special "basket" which can be turned on from options (3.1) orr from the buttons bar (2.2)
  557.  
  558. 10. Conclusion
  559.  
  560. The program Downloader for X is under continual developement, so if you don't
  561. find a necessary feature, it most likely it will appear soon.  The author
  562. appeals to all users with new feature ideas to carefully read through
  563. this document before sending suggestions about new features.  It is possible
  564. that what you want to do can already be done by using an available features.
  565. Likewise it does not make sense to send a suggestion for a feature not required
  566. for the simple management of downloads, for example MP3 playing or archives
  567. management. :)  Such features have already been implemented in various other
  568. programs.
  569.  
  570.