lcd – Internetblog.org.uk https://www.internetblog.org.uk Web hosting, Domain names, Dedicated servers Fri, 29 Jan 2016 11:05:52 +0000 en-US hourly 1 https://wordpress.org/?v=4.9.5 https://www.internetblog.org.uk/files/2016/01/cropped-favico-32x32.png lcd – Internetblog.org.uk https://www.internetblog.org.uk 32 32 Linux Server Command Line FTP https://www.internetblog.org.uk/post/1403/linux-server-command-line-ftp/ Tue, 08 Jun 2010 20:08:56 +0000 http://www.internetblog.org.uk/post/1402/linux-server-command-line-ftp/ FTP iconFor desktop computers, graphical FTP clients allow users to connect to their websites and upload files. Essentially, FTP (File Transfer Protocol) is the most common method of publishing your web content to your website. Although many users rely heavily on dynamic websites, such as blogs, to update their sites from the web, they still might use FTP to upload static content.

When logged into to a remote server, you still have the option of using FTP to connect to other servers, such as your backup storage device, although you will not have the benefit of a graphical interface. Here are a few basic commands for text-based FTP.

ftp – Starts the FTP program.
open – Connects to a remote server. You can use it in combination with an address (i.e. open ftp.mysite.net)
ls – Lists the files in a directory
cd – changes to the specified directory
get – downloads the specified remote file (i.e. get filename)
lcd – changes the current local directory (i.e. lcd /home/user)
send – uploads specified file (i.e. send whois-list)
quit – exits and returns the prompt to the local server

Image Source: Wikimedia Commons

]]>