[{"data":1,"prerenderedAt":172},["ShallowReactive",2],{"term-f\u002Fftp":3,"related-f\u002Fftp":156},{"id":4,"title":5,"acronym":6,"body":7,"category":137,"description":138,"difficulty":139,"extension":140,"letter":141,"meta":142,"navigation":71,"path":143,"related":144,"seo":149,"sitemap":150,"stem":153,"subcategory":154,"__hash__":155},"terms\u002Fterms\u002Ff\u002Fftp.md","FTP","File Transfer Protocol",{"type":8,"value":9,"toc":131},"minimark",[10,15,19,23,26,30,120,124,127],[11,12,14],"h2",{"id":13},"eli5-the-vibe-check","ELI5 — The Vibe Check",[16,17,18],"p",{},"FTP is the old-school way to transfer files to a server. You connect with a username and password and upload or download files. It's simple but wildly insecure — everything including your password is sent in plain text. Use SFTP instead in 2024.",[11,20,22],{"id":21},"real-talk","Real Talk",[16,24,25],{},"FTP is a standard network protocol for transferring files between a client and server over TCP. It uses separate control (port 21) and data connections. FTP transmits data unencrypted, making it vulnerable to interception. FTPS adds TLS encryption, while SFTP is an entirely different protocol over SSH.",[11,27,29],{"id":28},"show-me-the-code","Show Me The Code",[31,32,37],"pre",{"className":33,"code":34,"language":35,"meta":36,"style":36},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","# Connect via FTP (not recommended — use SFTP)\nftp ftp.example.com\n# Enter username and password\n\n# FTP commands\nls          # list files\nget file.txt  # download\nput file.txt  # upload\nbye         # disconnect\n","bash","",[38,39,40,49,60,66,73,79,88,100,111],"code",{"__ignoreMap":36},[41,42,45],"span",{"class":43,"line":44},"line",1,[41,46,48],{"class":47},"sHwdD","# Connect via FTP (not recommended — use SFTP)\n",[41,50,52,56],{"class":43,"line":51},2,[41,53,55],{"class":54},"sBMFI","ftp",[41,57,59],{"class":58},"sfazB"," ftp.example.com\n",[41,61,63],{"class":43,"line":62},3,[41,64,65],{"class":47},"# Enter username and password\n",[41,67,69],{"class":43,"line":68},4,[41,70,72],{"emptyLinePlaceholder":71},true,"\n",[41,74,76],{"class":43,"line":75},5,[41,77,78],{"class":47},"# FTP commands\n",[41,80,82,85],{"class":43,"line":81},6,[41,83,84],{"class":54},"ls",[41,86,87],{"class":47},"          # list files\n",[41,89,91,94,97],{"class":43,"line":90},7,[41,92,93],{"class":54},"get",[41,95,96],{"class":58}," file.txt",[41,98,99],{"class":47},"  # download\n",[41,101,103,106,108],{"class":43,"line":102},8,[41,104,105],{"class":54},"put",[41,107,96],{"class":58},[41,109,110],{"class":47},"  # upload\n",[41,112,114,117],{"class":43,"line":113},9,[41,115,116],{"class":54},"bye",[41,118,119],{"class":47},"         # disconnect\n",[11,121,123],{"id":122},"when-youll-hear-this","When You'll Hear This",[16,125,126],{},"\"The old hosting provider only supports FTP.\" \u002F \"Switch from FTP to SFTP so credentials aren't sent in plaintext.\"",[128,129,130],"style",{},"html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":36,"searchDepth":51,"depth":51,"links":132},[133,134,135,136],{"id":13,"depth":51,"text":14},{"id":21,"depth":51,"text":22},{"id":28,"depth":51,"text":29},{"id":122,"depth":51,"text":123},"networking","FTP is the old-school way to transfer files to a server. You connect with a username and password and upload or download files.","beginner","md","f",{},"\u002Fterms\u002Ff\u002Fftp",[145,146,147,148],"SFTP","SSH","Protocol","Port",{"title":5,"description":138},{"changefreq":151,"priority":152},"weekly",0.7,"terms\u002Ff\u002Fftp",null,"238KaYMJlAgfnfaIvEW-fv9bf0MQ0Rr7_U7Dez79tLU",[157,161,164,168],{"title":148,"path":158,"acronym":154,"category":159,"difficulty":139,"description":160},"\u002Fterms\u002Fp\u002Fport","general","A port is like an apartment number on a building. Your computer is the building (localhost), and multiple services live inside.",{"title":147,"path":162,"acronym":154,"category":137,"difficulty":139,"description":163},"\u002Fterms\u002Fp\u002Fprotocol","A protocol is just an agreed set of rules for how two parties communicate.",{"title":145,"path":165,"acronym":166,"category":137,"difficulty":139,"description":167},"\u002Fterms\u002Fs\u002Fsftp","SSH File Transfer Protocol","SFTP is file transfer done the secure way. It uses SSH to encrypt everything — your password, the files, all of it.",{"title":146,"path":169,"acronym":170,"category":137,"difficulty":139,"description":171},"\u002Fterms\u002Fs\u002Fssh","Secure Shell","SSH is like a secure remote control for servers.",1776518278765]