ftp::geturl(n)
ftp::geturl(n) β the ftp client era π
okay bestie, so this is the ftp::geturl manual page, living in the ftp client section of the manual. pull up a chair, grab a strawberry π, we're doing ftp urls today and honestly? it's giving iconic.
β¨ NAME β¨
ftp::geturl β the Uri handler for ftp urls π¦
πΈ SYNOPSIS πΈ
package require Tcl 8.5 9
package require ftp::geturl ?0.2.3?
::ftp::geturl url
π DESCRIPTION π
so this package hands you a command that wraps around the client side of the ftp protocol β and that protocol is provided by the package ftp β so you can actually retrieve urls that use the ftp schema. that's the whole vibe. no cap.
π API π
::ftp::geturl url
this command is the main character π
and the generic command ::uri::geturl (see package uri) can call on it to retrieve the contents of ftp urls. under the hood it's using the commands from the package ftp to make the request happen. teamwork, fr fr π«Ά
and the contents of a ftp url are defined like this, bestie β pay attention, this is the good part:
fileβ the contents of the specified file itself. just. the file. the whole file. as-is. πdirectoryβ a listing of the contents of the directory in key value notation, where the file name is the key and its attributes are the associated value. so cute, so structured. πlinkβ the attributes of the link, including the path it refers to. yes, it tells you where it points. iykyk π₯
π BUGS, IDEAS, FEEDBACK π
okay so. this document, and the package it describes, will undoubtedly contain bugs and other problems. that's just the truth, no shade. please report such in the category ftp of the Tcllib Trackers β here's the link, screenshot it, bookmark it, tattoo it, whatever:
http://core.tcl.tk/tcllib/reportlist
also please report any ideas for enhancements you may have for either the package and/or the documentation. we want the glow-up β¨
when you're proposing code changes, please provide unified diffs, i.e the output of diff -u. that's the move.
note further that attachments are strongly preferred over inlined patches. to make an attachment, go to the Edit form of the ticket immediately after its creation, and then use the left-most button in the secondary navigation bar. that's it, that's the trick π«Ά
π¦ SEE ALSO π¦
ftpd, mime, pop3, smtp
β KEYWORDS β
ftp, internet, net, rfc 959
π CATEGORY π
Networking
tcllib Β· version 0.2.3 Β· and that's the whole page bestie, slay, go fetch some files over ftp, you absolutely ate π
β¨π
π¦ where this page comes from
- fedora 43: tcllib 2.0-3.fc43 Β· TCL
- fedora 44: tcllib 2.0-4.fc44 Β· TCL
- nixos 26.05: tcllib 2.0
- nixpkgs unstable: tcllib 2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms