ftp::geturl(n)

πŸ“¦
version 2.0 Β· 2 versions
, in fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

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