To Use FTP Command in Linux

时间:2024-01-19 17:36:15

Yesterday I was asked to upload a file in Linux to the corresponding server. I said “oops” because I never used that in Linux shell, we used Filezilla in Windows for such purpose of task. Therefore there is a quite good tutorial on nixCraft: http://www.cyberciti.biz/faq/linux-unix-ftp-commands/, which covers most of the useful topics in the daily use.

Note that lcd and cd should be used in order to set correct remote and local path, respectively. pwd and lpwd could be used to check where you are exactly, and afterwards you can performance proper put and get operations.