On Wednesday 09 February 2005 09:26 am, Peter Vervaene wrote:
> Hi,
>
> when logging onto an ftp site, we are encoutering following problems:
>
> our new user has following format:  '[EMAIL PROTECTED]'
> this does not seem to work with WGET-software; is there a workaround?
> the old user of type 'abcde' worked out just fine.

try downloading the latest cvs souces or applying this patch to wget 1.9.1:

Index: src/init.c
===================================================================
RCS file: /pack/anoncvs/wget/src/init.c,v
retrieving revision 1.92
diff -u -r1.92 init.c
--- src/init.c  2004/02/17 15:37:31     1.92
+++ src/init.c  2005/02/19 01:40:36
@@ -143,6 +143,7 @@
   { "followftp",       &opt.follow_ftp,        cmd_boolean },
   { "followtags",      &opt.follow_tags,       cmd_vector },
   { "forcehtml",       &opt.force_html,        cmd_boolean },
+  { "ftppasswd",       &opt.ftp_pass,          cmd_string },
   { "ftpproxy",                &opt.ftp_proxy,         cmd_string },
   { "glob",            &opt.ftp_glob,          cmd_boolean },
   { "header",          &opt.user_headers,      cmd_spec_header },
@@ -176,7 +177,6 @@
   { "outputdocument",  &opt.output_document,   cmd_file },
   { "pagerequisites",  &opt.page_requisites,   cmd_boolean },
   { "passiveftp",      &opt.ftp_pasv,          cmd_lockable_boolean },
-  { "passwd",          &opt.ftp_pass,          cmd_string },
   { "postdata",                &opt.post_data,         cmd_string },
   { "postfile",                &opt.post_file_name,    cmd_file },
   { "preservepermissions", &opt.preserve_perm, cmd_boolean },
Index: src/main.c
===================================================================
RCS file: /pack/anoncvs/wget/src/main.c,v
retrieving revision 1.113
diff -u -r1.113 main.c
--- src/main.c  2005/01/01 21:29:08     1.113
+++ src/main.c  2005/02/19 01:40:37
@@ -182,6 +182,7 @@
     { "follow-tags", 0, OPT_VALUE, "followtags", -1 },
     { "force-directories", 'x', OPT_BOOLEAN, "dirstruct", -1 },
     { "force-html", 'F', OPT_BOOLEAN, "forcehtml", -1 },
+    { "ftp-passwd", 0, OPT_VALUE, "ftppasswd", -1 },
     { "glob", 0, OPT_BOOLEAN, "glob", -1 },
     { "header", 0, OPT_VALUE, "header", -1 },
     { "help", 'h', OPT_FUNCALL, (void *)print_help, no_argument },

and using the --ftp-passwd command line option (in your case you have to use 
[EMAIL PROTECTED]).

or, with wget 1.9.1, you could try with -e "[EMAIL PROTECTED]".

-- 
Aequam memento rebus in arduis servare mentem...

Mauro Tortonesi

University of Ferrara - Dept. of Eng.    http://www.ing.unife.it
Institute of Human & Machine Cognition   http://www.ihmc.us
Deep Space 6 - IPv6 for Linux            http://www.deepspace6.net
Ferrara Linux User Group                 http://www.ferrara.linux.it

Reply via email to