README
1EnderUNIX Aget v0.4.1 README
2--------------------------
3
4This program is a starting point for a very useful project like FlashGet
5for Win32. My aim is to provide all the functionality that program has.
6
7If you need assistance in installing Aget, you can see INSTALL file,
8Program is tested on RedHat Linux 8, FreeBSD 4.7 and
9Solaris 7,8 (Sparc). It proved to be successful.
10
11You can get much more info from the Aget Web site:
12http://www.enderunix.org/aget
13
14Tue May 12 08:43:52 EEST 2009
15
README-Developer
1Ok, Here's a developer's primer for aget source:
2
3The code is splitted into several files:
4
5main.{c|h}
6 * starts a thread for handling signals.
7 * gets program options and decides the
8 program's behviour by setting a few
9 global variables.
10
11Aget.{c|h}
12 * get() and resume_get() functions
13 starts the download process. Depending on the
14 protocol, necessary methods are called.
15
16 resume_get() is for resume jobs. If the there
17 is a log file of a previous job, the values
18 are taken from it.
19
20Head.{c|h}
21 * Before the actual download, a head request
22 is sent to the server to determine the current
23 status of the file.
24 Some values like:
25 1. HTTP return code (e.g. 404, 206, 403, 200)
26 2. Content-length
27
28 might be of interest there.
29
30Download.{c|h}
31 * Aget is no more %100 Posix compliant :(
32 pwrite is from X_OPEN standarts. I had to do it, since I needed
33 a way to simultaneously write to the same file without loosing
34 any time while synchronising the threads.
35
36 For the time, there is only http_get. When aget is ftp-aware
37 ftp_get will be in this file.
38
39
40Resume.{c|h}
41 * Methods about saving and restoring history files are in this
42 file.
43
44Signal.{c|h}
45 * Signal Handling functions.
46
47Misc.{c|h}
48 * Other functions which do not fit any of the general categories
49 are stored here. These are generally helper functions...
50
51
52For more information read the aget source, and you may contact
53murat at enderunix dot org.
54
55
56Tue May 12 08:44:04 EEST 2009
57