Groups | Search | Server Info | Login | Register
Groups > comp.sys.acorn.programmer > #6590
| From | Kevin Wells <kev@kevsoft.co.uk> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Using WGET from basic |
| Date | 2026-01-12 18:23 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <20e2249a5c.Kevin@Kevsoft> (permalink) |
| References | <3e719a995c.Paul@phorefaux> |
In message <3e719a995c.Paul@phorefaux>
Paul Stewart <phorefaux@gmail.com> wrote:
>Hi all,
>
>Recently started using WGET to fetch some files.
>Is it possible to call this from a basic program and it mulitask in the
>background?
>
>I have it working without issue from a basic program, it just single tasks
>whilst it's downloading. Currently using: -
>
>command$="wget "+webfilepath$+" -O "+scrapfilepath$+wgetoptions$ + "
>--show-progress"
>SYS"XWimp_StartTask",command$
>
>Added the --show-progress just so I can see it's doing something.
>
If you write to the wget command to an obey file (feb) then do a
OSCLI("Filer_Run path to obey file") that will return control to the
computer straight away, then you would need to check to see that the
file has been downloaded.
If you use the -S -o switches which is -S the Server response and the -o
is saves a log file, that could go in the same directory as the download
perhaps call it log? And then you would need to check that the log file
is closed.
I presume their is a command for that?
--
Kev Wells
https://kevsoft.co.uk/ https://ko-fi.com/kevsoft
carpe cervisium
Useless Fact 04 The number of islands around mainland Britain is 6289.
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Find similar
Using WGET from basic Paul Stewart <phorefaux@gmail.com> - 2026-01-11 17:11 +0000
Re: Using WGET from basic Harriet Bazley <harriet@bazleyfamily.co.uk> - 2026-01-12 01:28 +0000
Re: Using WGET from basic Paul Stewart <phorefaux@gmail.com> - 2026-02-08 16:47 +0000
Re: Using WGET from basic Kevin Wells <kev@kevsoft.co.uk> - 2026-01-12 18:23 +0000
csiph-web