TSURLFTPTYPESET(3ts)

πŸ“¦
version 9.2.5 Β· 4 versions
, in ubuntu noble, ubuntu questing

✨ TSURLFTPTYPESET(3ts) ✨

okay bestie, gather round, because we're about to talk about TSUrlFtpTypeSet β€” that's the API function from the Apache Traffic Server manual, section 3ts. yes this is a real manual page, yes it lives in the 3ts section, and yes i'm gonna make it make sense for you 🫢


🌸 NAME 🌸

TSUrlFtpTypeSet β€” the TSUrlFtpTypeSet API function. that's it, that's the name, it's giving "i do exactly one thing and i do it well" πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

#include <ts/ts.h>

TSReturnCode TSUrlFtpTypeSet(TSMBuffer bufp, TSMLoc offset, int type)

so you pull in <ts/ts.h> and then you've got this lil function waiting for you. it hands you back a TSReturnCode, because of course it does, we love a return code, we check our return codes in this house ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the whole vibe: TSUrlFtpTypeSet sets the FTP type portion of the URL to whatever you pass in.

specifically β€” and this is the important part, no skimming bestie β€” it sets the FTP type portion of the URL located at url_loc within bufp to the value type.

so like, the three things in play here are:

  • bufp β€” the TSMBuffer the URL is chillin' inside of
  • url_loc β€” where that URL is located within bufp
  • type β€” the value the FTP type portion is getting set to

that's the whole story, fr fr. one buffer, one location, one type, one FTP type portion getting updated. iconic behavior, honestly πŸ‘‘


2026, dev@trafficserver.apache.org

and that's the page, bestie!! 🌈 thanks for reading, hope your FTP types are always exactly what you wanted them to be πŸ’–

signing off from Apache Traffic Server 9.2, dated Feb 12, 2026, page TSURLFTPTYPESET(3ts) β€” mwah, bye!! πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from