Re: Download manager and proxies
- From: Henry Baldursson <henry baldursson gmail com>
- To: Reinout van Schouwen <reinouts gnome org>
- Cc: epiphany-list gnome org
- Subject: Re: Download manager and proxies
- Date: Mon, 29 Nov 2004 22:04:23 +0000
On Mon, 29 Nov 2004 16:11:01 +0100 (CET), Reinout van Schouwen
<reinouts gnome org> wrote:
> Glad you found Epiphany in Ubuntu, as Firefox seems to be the default
> browser. :-)
Yeah. Firefox is Ubuntu's default. They do maintain a very good
package for Epiphany and Epiphany extensions in their repository.
Also, it seems one of the main Ubuntu developers uses Epiphany
exclusively:
https://bugzilla.ubuntu.com/show_bug.cgi?id=1228
> Everyone agrees (I think) that the current download manager can be
> improved. There are two things suggested here which might happen:
>
> 1) Move 'simple' download tasks to Nautilus
> 2) Let epiphany extensions handle complicated downloader functions.
>
> Number 2 has already been implemented; see
Yeah, that does looks kind of cool, but I don't think gwget has the
makings of an application that has a shot at getting included in the
Gnome mainline:
>From gwget_data_start_download():
> pid = fork ();
> if (pid == 0) {
> /* Child process */
> gint arg;
> gchar *argv[20];
> /* gchar *opt; */
>
> /* Set stderr of child process to one end of the pipe. The father
> * process reads child output throught the pipe */
> close (pipe_fd[0]);
> dup2 (pipe_fd[1], 2);
>
> /* Set common arguments */
> argv[0] = "wget";
> argv[1] = "-v"; /* Verbose */
> argv[2] = "-P"; /* Use directory prefix */
> argv[3] = gwgetdata->dir; /* Directory prefix */
> argv[4] = gwgetdata->url; /* Url to download */
> argv[5] = "-c"; /* Continue download */
> argv[6] = "-t"; /* Number of retries */
> argv[7] = g_strdup_printf ("%d", gwget2_pref.num_retries);
> /* argv[7] = "1"; */
> /* argv[8] = "-T"; Wget timeout */
> /* argv[9] = g_strdup_printf ("%d", gtm_pref.read_timeout); >*/
>
> arg = 8;
> /* Preferences */
> if (gwgetdata->recursive) {
> /* recursive options */
> /* In the next releases will be configurable */
> argv[arg]="-r";
> arg++;
> argv[arg]="-L";
> arg++;
>
> }
>
> argv[arg] = NULL;
>
> /* Set Language to C. This must be done or we will not be able
> * to parse the wget output */
> putenv ("LC_ALL=C");
>
> /* Everything ready run wget */
> execvp ("wget", argv);
Not to piss in anyone's pool, but a download manager as a frontend for
a command-line downloader doesn't get my juices flowing. :-)
It has no viable option for extending the content it can handle, and
would have to rely on wget making handlers for certain URI's like
torrents and such, and I don't see that happening.
Thanks for the kind welcome, Reinout, and hello to all on the list :-)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]