Handbook
Glossary
download-outdated ( url duration -- path )
HTTP Download Utilities
Prev:
download-once-as ( url path -- path )
Next:
download-outdated-into ( url directory duration -- path )
Vocabulary
http
.
download
Inputs
url
an
url
duration
a
duration
Outputs
path
a pathname string
Word description
Download a URL into
current-directory
unless the an existing file has a timestamp newer than
duration
ago.
Definition
USING:
io.directories
io.pathnames
kernel
namespaces
;
IN:
http.download
:
download-outdated
( url duration -- path )
[
dup
download-name
current-directory
get
to-directory
nip
]
dip
download-outdated-as
;