ftp::geturl(3tcl)

πŸ“¦
version 2.0 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– ftp::geturl β€” the vibe ✨

okay bestie, so this is the manual page for ftp::geturl, a lil command from the tcllib collection, section 3tcl. It's literally a Uri handler for ftp urls. Yes the whole thing. Let's get into it 🫢


🌸 NAME 🌸

ftp::geturl β€” Uri handler for ftp urls πŸ’…


✨ SYNOPSIS ✨

package require Tcl 8.5 9

package require ftp::geturl ?0.2.3?

::ftp::geturl url

like. three lines. so clean. so iconic. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea β˜• β€” this package hands you one command, and that command wraps around the client side of the ftp protocol that you get from the package ftp. Why? So you can retrieve urls that use the ftp schema. That's it. That's the whole job. And it does that job flawlessly, no cap. 🌈


πŸ‘‘ API πŸ‘‘

  • ::ftp::geturl url β€” bestie, this command is the main character πŸ’«. It can be used by the generic command ::uri::geturl (see package uri if you wanna know more) to retrieve the contents of ftp urls. Under the hood it's calling on the commands from the package ftp to actually make the request happen. Behind the scenes queen behavior fr fr πŸ‘Έ

so like, the contents of a ftp url are defined like this, pay attention babes:

  • file β€” the contents of the specified file itself. just the file. as-is. periodt πŸ’…
  • directory β€” a listing of what's inside the directory, in key value notation, where the file name is the key and its attributes are the associated value. it's giving very organized. very demure. ✨
  • link β€” the attributes of the link, including the path it refers to. so you get the link's whole personality, path included πŸ¦‹

😭 BUGS, IDEAS, FEEDBACK 😭

ngl this document, and the package it describes, will undoubtedly contain bugs and other problems. it's not a vibe but it's real. so please report those in the category ftp of the Tcllib Trackers at [http://core.tcl.tk/tcllib/reportlist]. πŸ’€

also if you have any ideas for enhancements for either the package and/or the documentation, pls pls pls report those too, we wanna hear it 🫢

when proposing code changes, please provide unified diffs, i.e. the output of diff -u. this is not optional bestie, it's the whole assignment πŸ“

and one more thing β€” attachments are strongly preferred over inlined patches. you can attach stuff 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. iykyk 🌟


🌈 SEE ALSO 🌈

  • ftpd
  • mime
  • pop3
  • smtp

(the squad πŸŽ€)


⭐ KEYWORDS ⭐

ftp, internet, net, rfc 959


πŸ’œ CATEGORY πŸ’œ

Networking


okay that's the whole page bestie, you ate that πŸ“βœ¨ this was tcllib, version 0.2.3, and the page is ftp::geturl(3tcl) β€” go forth and retrieve urls, queen πŸ‘‘πŸ’–

πŸ“¦ where this page comes from