Files
org-roam/20231019165534-ftp.org
2025-11-05 09:18:11 +01:00

20 lines
2.5 KiB
Org Mode
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
:PROPERTIES:
:ID: 7fb31a9c-b252-493f-958b-e2d330047b18
:END:
#+title: FTP
The File Transfer Protocol (FTP) is a standard communication protocol used for the transfer of computer files from a [[id:f2b1d5af-1a7d-47a5-95c8-4a85d558419e][server]] to a [[id:70899526-8b7d-4976-94fc-cc07c41e550a][client]] on a computer [[id:c9461f7b-7368-4b88-b90b-2d785fda2159][subnetworks]]. FTP is built on a clientserver model architecture using separate control and data connections between the client and the server. FTP users may authenticate themselves with a plain-text sign-in [[id:bd5b34ba-aa98-4808-b97b-2376aa7b8866][protocol]], normally in the form of a username and password, but can connect anonymously if the server is configured to allow it. For secure transmission that protects the username and password, and encrypts the content, FTP is often secured with [[id:95c8982d-e104-43a2-9bb2-fd7e1c3204f2][SSL]]/[[id:872ee33b-8361-40c7-9d88-69b3afe5ade2][TLS]] (FTPS) or replaced with SSH File Transfer Protocol (SFTP).
The first FTP client applications were [[id:d71414fc-349c-4763-a703-9f7092fc90d6][command-line]] programs developed before [[id:5fada795-19a3-4ba6-97c0-0b70bd728a2f][operating]] systems had graphical user interfaces ([[id:a08570b0-8fe8-45a8-8f60-e45ea6b31a34][GUI]]), and are still shipped with most Windows, Unix, and Linux operating systems. Many dedicated FTP clients and automation utilities have since been developed for desktops, servers, mobile devices, and [[id:01ec5ed6-a234-4063-994b-174f704bb28a][hardware]], and FTP has been incorporated into productivity applications such as HTML editors and file managers.
An FTP client used to be commonly integrated in web browsers, where file servers are browsed with the URI prefix "ftp://". In 2021, FTP support was dropped by Google Chrome and Firefox, two major web browser vendors, due to it being superseded by the more secure SFTP and FTPS; although neither of them have implemented the newer protocols.
In the command line it works like [[id:422e07f8-c888-460f-849e-76d451946045][ssh]].
One can invoke it with the command ~sftp~ as follows:
#+begin_src bash
sftp <servername or IP> -p <port if allocated and non standard port>
#+end_src
You can navigate in the far away [[id:b6d24dd6-285f-4c03-883c-dc77b78c652a][shell]] as you would in your own [[id:4c3c3777-af52-4cde-8d9b-f356701b94c9][terminal]]. If you want to navigate your local host you have to prepend an ~l~ infront of every command. like ~lcd~ to switch lokal folders or ~lls~ to list folder content.