Re: Android, busybox and wget
"Voytek Eymont" <[email protected]> Fri, 6 May 2011 09:16:52 +1100
| Newsgroups | gmane.org.user-groups.slug.chat |
|---|---|
| Message-ID | <[email protected]> |
On Wed, May 4, 2011 12:57 pm, Daniel Pittman wrote: > On Tue, May 3, 2011 at 17:36, Voytek Eymont <[email protected]> wrote: > You might actually find it easier to have the phone push it up to the > Google apps side, using their network API, and have it sync back down > to the phone. ;) Daniel, as it is, the busybox wget doesn't seem to support cookies, so, the whole idea fails at the start, oh well. (and, on the next step it uses 'links' to dump HTML to text, so that would fail next) anyhow, if I have the script on a remote linux host, what's best way to execute that on demand from Android ? ---------------- $ busybox wget --post-data='username=xxx&password=yyy&_action_login=L ogin&_module=login&_template=login&_action=_login' --save-cookies=my-cookies --k eep-session-cookies http://tld.com.au/main.htm wget: unrecognized option '--save-cookies=my-cookies' BusyBox v1.14.3 (2009-08-18 21:48:57 CDT) multi-call binary Usage: wget [-c|--continue] [-s|--spider] [-q|--quiet] [-O|--output-document fil e] [--header 'header: value'] [-Y|--proxy on/off] [-P DIR] [-U|--user-agent agent] url Retrieve files via HTTP or FTP Options: -s Spider mode - only check file existence -c Continue retrieval of aborted transfer -q Quiet -P Set directory prefix to DIR -O Save to filename ('-' for stdout) -U Adjust 'User-Agent' field -Y Use proxy ('on' or 'off') ----------------- -- Voytek -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html