tutorial_linux_ftp
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revision | |||
— | tutorial_linux_ftp [2018/09/08 18:05] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Linux FTP tutorial ====== | ||
+ | If you use Linux on your computer, you may be disappointed that some of the recommended FTP programs are not available for Linux. However, as a Linux user you have available to you a very simple yet powerful FTP program -- the " | ||
+ | |||
+ | If you don't have much terminal experience, it can seem daunting, but once you get used to it, it is actually very simple and efficient. | ||
+ | |||
+ | ===== All you need to know about the terminal ===== | ||
+ | |||
+ | As a Linux user you've probably used the terminal at least a little bit, but the only thing you need to know to use " | ||
+ | |||
+ | Using the terminal consists of typing a command, optionally adding a space and then arguments (options for the command), and then pressing enter. | ||
+ | |||
+ | For example, '' | ||
+ | |||
+ | ===== Connecting to your seedbox ===== | ||
+ | |||
+ | Firstly, to open the " | ||
+ | |||
+ | < | ||
+ | |||
+ | This is the ftp prompt, which is essentially a terminal, but with only FTP-specific functionality. | ||
+ | |||
+ | The very first thing you should do is connect to your seedbox, by running '' | ||
+ | |||
+ | < | ||
+ | Connected to myseedbox.xirvik.com. | ||
+ | 220 ProFTPD Server (myseedbox.xirvik.com) [12.34.56.78] | ||
+ | Name (myseedbox.xirvik.com): | ||
+ | 331 Password required for myusername | ||
+ | Password: (Type password here) | ||
+ | 230 User myusername logged in | ||
+ | Remote system type is UNIX. | ||
+ | Using binary mode to transfer files. | ||
+ | ftp></ | ||
+ | |||
+ | There is a lot of text that appears on the screen, but the only important parts are that you type your username when it says " | ||
+ | |||
+ | ===== Using the " | ||
+ | |||
+ | You are now very close to downloading files. But first, there are a few ftp commands you should know. | ||
+ | |||
+ | ==== Where am I? ==== | ||
+ | |||
+ | With FTP, you always have a folder on your computer, and a folder on your seedbox, which you are currently in. '' | ||
+ | |||
+ | < | ||
+ | Local directory: / | ||
+ | ftp> pwd | ||
+ | Remote directory: /</ | ||
+ | |||
+ | In this example, you are currently in the folder / | ||
+ | |||
+ | ==== How do I get in a folder? ==== | ||
+ | |||
+ | To enter a folder, you can run '' | ||
+ | |||
+ | **Note:** If a folder name contains spaces you will have to put quotation marks around it, as shown in the example. | ||
+ | |||
+ | < | ||
+ | Remote Directory: / | ||
+ | ftp> cd "My Excellent Folder" | ||
+ | ftp> pwd | ||
+ | Remote Directory: /My Excellent Folder</ | ||
+ | |||
+ | ==== How do I see my files? ==== | ||
+ | |||
+ | Type '' | ||
+ | |||
+ | < | ||
+ | 229 Entering Extended Passive Mode (|||64895|) | ||
+ | 150 Opening ASCII mode data connection for file list | ||
+ | drwxrws--- | ||
+ | -rw-rw---- | ||
+ | 226 Transfer complete</ | ||
+ | |||
+ | You can tell that something is a folder if it has the " | ||
+ | |||
+ | ==== How can I download a file? ==== | ||
+ | |||
+ | Finally it is time to download a file. To do so, simply run '' | ||
+ | |||
+ | **Note:** Similarly to '' | ||
+ | |||
+ | < | ||
+ | local: My Excellent File.rar | ||
+ | 229 Entering Extended Passive Mode (|||64830|) | ||
+ | 150 Opening BINARY mode data connection for My Excellent File.rar (731785220 bytes) | ||
+ | 2% |* | 15151 KiB 1.13 MiB/s 10:00 ETA</ | ||
+ | |||
+ | You will see a progress bar, the amount that has been downloaded, the speed of the download, and the estimated time remaining in the download. | ||
+ | |||
+ | If you want to cancel a download, you can press Ctrl+C, but you may be left with an incomplete file which you will need to delete. | ||
+ | |||
+ | ==== How can I upload a file? ==== | ||
+ | |||
+ | Uploading is exactly the same process as downloading, | ||
+ | |||
+ | ==== How do I get out of the ftp prompt? ==== | ||
+ | |||
+ | Simply run the command '' |
tutorial_linux_ftp.txt · Last modified: 2018/09/08 18:05 by 127.0.0.1