[ Tcllib Home | Main Table Of Contents | Table Of Contents | Keyword Index | Categories | Modules | Applications ]

ftp::geturl(n) 0.2.1 tcllib "ftp client"

Name

ftp::geturl - Uri handler for ftp urls

Table Of Contents

Synopsis

  • package require Tcl 8.2
  • package require ftp::geturl ?0.2.1?

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. Internally it uses the commands of the package ftp to fulfill the request.

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 attributes 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. Please also report any ideas for enhancements you may have for either package and/or documentation.

See Also

ftpd, mime, pop3, smtp

Keywords

ftp, internet, net, rfc 959

Category

Networking