ftp::geturl(3tcl) ftp client ftp::geturl(3tcl)
______________________________________________________________________________
NAME
ftp::geturl - Uri handler for ftp urls
SYNOPSIS
package require Tcl 8.2
package require ftp::geturl ?0.2.2?
::ftp::geturl url
______________________________________________________________________________
DESCRIPTION
This package provides a command which wraps around the client side of
the ftp protocol provided by package ftp to allow the retrieval of urls
using the ftp schema.
API
::ftp::geturl url
This command can be used by the generic command ::uri::geturl
(See package uri) to retrieve the contents of ftp urls. Inter-
nally it uses the commands of the package ftp to fulfill the re-
quest.
The contents of a ftp url are defined as follows:
file The contents of the specified file itself.
directory
A listing of the contents of the directory in key value
notation where the file name is the key and its at-
tributes the associated value.
link The attributes of the link, including the path it refers
to.
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain
bugs and other problems. Please report such in the category ftp of the
Tcllib Trackers [http://core.tcl.tk/tcllib/reportlist]. Please also
report any ideas for enhancements you may have for either package
and/or documentation.
When proposing code changes, please provide unified diffs, i.e the out-
put of diff -u.
Note further that attachments are strongly preferred over inlined
patches. Attachments can be made by going to the Edit form of the
ticket immediately after its creation, and then using the left-most
button in the secondary navigation bar.
SEE ALSO
ftpd, mime, pop3, smtp
KEYWORDS
ftp, internet, net, rfc 959
CATEGORY
Networking
tcllib 0.2.2 ftp::geturl(3tcl)