1ftp::geturl(n)                    ftp client                    ftp::geturl(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       ftp::geturl - Uri handler for ftp urls
9

SYNOPSIS

11       package require Tcl  8.2
12
13       package require ftp::geturl  ?0.2.2?
14
15       ::ftp::geturl url
16
17______________________________________________________________________________
18

DESCRIPTION

20       This  package  provides a command which wraps around the client side of
21       the ftp protocol provided by package ftp to allow the retrieval of urls
22       using the ftp schema.
23

API

25       ::ftp::geturl url
26              This  command  can  be used by the generic command ::uri::geturl
27              (See package uri) to retrieve the contents of ftp  urls.  Inter‐
28              nally  it  uses  the  commands of the package ftp to fulfill the
29              request.
30
31              The contents of a ftp url are defined as follows:
32
33              file   The contents of the specified file itself.
34
35              directory
36                     A listing of the contents of the directory in  key  value
37                     notation   where  the  file  name  is  the  key  and  its
38                     attributes the associated value.
39
40              link   The attributes of the link, including the path it  refers
41                     to.
42

BUGS, IDEAS, FEEDBACK

44       This  document,  and the package it describes, will undoubtedly contain
45       bugs and other problems.  Please report such in the category ftp of the
46       Tcllib  Trackers  [http://core.tcl.tk/tcllib/reportlist].   Please also
47       report any ideas for enhancements  you  may  have  for  either  package
48       and/or documentation.
49
50       When proposing code changes, please provide unified diffs, i.e the out‐
51       put of diff -u.
52
53       Note further that  attachments  are  strongly  preferred  over  inlined
54       patches.  Attachments  can  be  made  by  going to the Edit form of the
55       ticket immediately after its creation, and  then  using  the  left-most
56       button in the secondary navigation bar.
57

SEE ALSO

59       ftpd, mime, pop3, smtp
60

KEYWORDS

62       ftp, internet, net, rfc 959
63

CATEGORY

65       Networking
66
67
68
69tcllib                               0.2.2                      ftp::geturl(n)
Impressum